IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
alglib.mincg Class Reference

Classes

class  mincgreport
 
class  mincgstate
 

Static Public Member Functions

static void mincgcreate (int n, double[] x, mincgstate state)
 
static void mincgcreatef (int n, double[] x, double diffstep, mincgstate state)
 
static void mincgsetcond (mincgstate state, double epsg, double epsf, double epsx, int maxits)
 
static void mincgsetscale (mincgstate state, double[] s)
 
static void mincgsetxrep (mincgstate state, bool needxrep)
 
static void mincgsetdrep (mincgstate state, bool needdrep)
 
static void mincgsetcgtype (mincgstate state, int cgtype)
 
static void mincgsetstpmax (mincgstate state, double stpmax)
 
static void mincgsuggeststep (mincgstate state, double stp)
 
static void mincgsetprecdefault (mincgstate state)
 
static void mincgsetprecdiag (mincgstate state, double[] d)
 
static void mincgsetprecscale (mincgstate state)
 
static bool mincgiteration (mincgstate state)
 
static void mincgresults (mincgstate state, ref double[] x, mincgreport rep)
 
static void mincgresultsbuf (mincgstate state, ref double[] x, mincgreport rep)
 
static void mincgrestartfrom (mincgstate state, double[] x)
 
static void mincgsetprecdiagfast (mincgstate state, double[] d)
 
static void mincgsetpreclowrankfast (mincgstate state, double[] d1, double[] c, double[,] v, int vcnt)
 
static void mincgsetprecvarpart (mincgstate state, double[] d2)
 
static void mincgsetgradientcheck (mincgstate state, double teststep)
 
static void mincgcreate (int n, double[] x, mincgstate state)
 
static void mincgcreatef (int n, double[] x, double diffstep, mincgstate state)
 
static void mincgsetcond (mincgstate state, double epsg, double epsf, double epsx, int maxits)
 
static void mincgsetscale (mincgstate state, double[] s)
 
static void mincgsetxrep (mincgstate state, bool needxrep)
 
static void mincgsetdrep (mincgstate state, bool needdrep)
 
static void mincgsetcgtype (mincgstate state, int cgtype)
 
static void mincgsetstpmax (mincgstate state, double stpmax)
 
static void mincgsuggeststep (mincgstate state, double stp)
 
static void mincgsetprecdefault (mincgstate state)
 
static void mincgsetprecdiag (mincgstate state, double[] d)
 
static void mincgsetprecscale (mincgstate state)
 
static bool mincgiteration (mincgstate state)
 
static void mincgresults (mincgstate state, ref double[] x, mincgreport rep)
 
static void mincgresultsbuf (mincgstate state, ref double[] x, mincgreport rep)
 
static void mincgrestartfrom (mincgstate state, double[] x)
 
static void mincgsetprecdiagfast (mincgstate state, double[] d)
 
static void mincgsetpreclowrankfast (mincgstate state, double[] d1, double[] c, double[,] v, int vcnt)
 
static void mincgsetprecvarpart (mincgstate state, double[] d2)
 
static void mincgsetgradientcheck (mincgstate state, double teststep)
 

Public Attributes

const int rscountdownlen = 10
 
const double gtol = 0.3
 

Static Private Member Functions

static void clearrequestfields (mincgstate state)
 
static void preconditionedmultiply (mincgstate state, ref double[] x, ref double[] work0, ref double[] work1)
 
static double preconditionedmultiply2 (mincgstate state, ref double[] x, ref double[] y, ref double[] work0, ref double[] work1)
 
static void mincginitinternal (int n, double diffstep, mincgstate state)
 
static void clearrequestfields (mincgstate state)
 
static void preconditionedmultiply (mincgstate state, ref double[] x, ref double[] work0, ref double[] work1)
 
static double preconditionedmultiply2 (mincgstate state, ref double[] x, ref double[] y, ref double[] work0, ref double[] work1)
 
static void mincginitinternal (int n, double diffstep, mincgstate state)
 

Member Function Documentation

static void alglib.mincg.mincgcreatef ( int  n,
double[]  x,
double  diffstep,
mincgstate  state 
)
inlinestatic
static void alglib.mincg.mincgsetxrep ( mincgstate  state,
bool  needxrep 
)
inlinestatic
static void alglib.mincg.mincgsetdrep ( mincgstate  state,
bool  needdrep 
)
inlinestatic
static void alglib.mincg.mincgsuggeststep ( mincgstate  state,
double  stp 
)
inlinestatic
static bool alglib.mincg.mincgiteration ( mincgstate  state)
inlinestatic

References alglib.mincg.mincgstate.algpowerup, alglib.mincg.mincgstate.betady, alglib.mincg.mincgstate.betahs, alglib.mincg.mincgstate.cgtype, alglib.mincg.clearrequestfields(), alglib.mincg.mincgstate.curstpmax, alglib.mincg.mincgstate.d, alglib.mincg.mincgstate.debugrestartscount, alglib.optserv.derivativecheck(), alglib.mincg.mincgstate.diffstep, alglib.mincg.mincgstate.dk, alglib.mincg.mincgstate.dn, alglib.mincg.mincgstate.drep, alglib.mincg.mincgstate.epsf, alglib.mincg.mincgstate.epsg, alglib.mincg.mincgstate.epsx, alglib.mincg.mincgstate.f, alglib.mincg.mincgstate.fbase, alglib.mincg.mincgstate.fm1, alglib.mincg.mincgstate.fm2, alglib.mincg.mincgstate.fold, alglib.mincg.mincgstate.fp1, alglib.mincg.mincgstate.fp2, alglib.mincg.mincgstate.g, alglib.rcommstate.ia, alglib.mincg.mincgstate.innerresetneeded, alglib.mincg.mincgstate.k, alglib.mincg.mincgstate.lastgoodstep, alglib.mincg.mincgstate.lastscaledstep, alglib.linmin.linminnormalized(), alglib.mincg.mincgstate.lsend, alglib.mincg.mincgstate.lsstart, alglib.mincg.mincgstate.lstate, alglib.mincg.mincgstate.maxits, alglib.mincg.mincgstate.mcinfo, alglib.linmin.mcsrch(), alglib.mincg.mincgstate.mcstage, alglib.mincg.mincgstate.n, alglib.mincg.mincgstate.needf, alglib.mincg.mincgstate.needfg, alglib.mincg.mincgstate.nfev, alglib.mincg.preconditionedmultiply(), alglib.mincg.preconditionedmultiply2(), alglib.mincg.mincgstate.prectype, alglib.rcommstate.ra, alglib.mincg.mincgstate.repiterationscount, alglib.mincg.mincgstate.repnfev, alglib.mincg.mincgstate.repterminationtype, alglib.mincg.mincgstate.repvaridx, alglib.mincg.rscountdownlen, alglib.mincg.mincgstate.rstate, alglib.mincg.mincgstate.rstimer, alglib.mincg.mincgstate.s, alglib.math.sqr(), alglib.rcommstate.stage, alglib.mincg.mincgstate.stp, alglib.mincg.mincgstate.stpmax, alglib.mincg.mincgstate.suggestedstep, alglib.mincg.mincgstate.terminationneeded, alglib.mincg.mincgstate.teststep, alglib.optserv.trimfunction(), alglib.optserv.trimprepare(), alglib.mincg.mincgstate.trimthreshold, alglib.mincg.mincgstate.work0, alglib.mincg.mincgstate.work1, alglib.mincg.mincgstate.x, alglib.mincg.mincgstate.xk, alglib.mincg.mincgstate.xn, alglib.mincg.mincgstate.xrep, alglib.mincg.mincgstate.xupdated, and alglib.mincg.mincgstate.yk.

Referenced by alglib.testmincgunit.gradientchecktest(), alglib.minbleic.minbleiciteration(), alglib.mincgiteration(), alglib.testmincgunit.testmincg(), alglib.testmincgunit.testother(), and alglib.testmincgunit.testpreconditioning().

static void alglib.mincg.mincgsetprecvarpart ( mincgstate  state,
double[]  d2 
)
inlinestatic
static void alglib.mincg.mincgsetgradientcheck ( mincgstate  state,
double  teststep 
)
inlinestatic
static void alglib.mincg.preconditionedmultiply ( mincgstate  state,
ref double[]  x,
ref double[]  work0,
ref double[]  work1 
)
inlinestaticprivate
static double alglib.mincg.preconditionedmultiply2 ( mincgstate  state,
ref double[]  x,
ref double[]  y,
ref double[]  work0,
ref double[]  work1 
)
inlinestaticprivate
static void alglib.mincg.mincgcreate ( int  n,
double[]  x,
mincgstate  state 
)
inlinestatic
static void alglib.mincg.mincgcreatef ( int  n,
double[]  x,
double  diffstep,
mincgstate  state 
)
inlinestatic
static void alglib.mincg.mincgsetcond ( mincgstate  state,
double  epsg,
double  epsf,
double  epsx,
int  maxits 
)
inlinestatic
static void alglib.mincg.mincgsetscale ( mincgstate  state,
double[]  s 
)
inlinestatic
static void alglib.mincg.mincgsetxrep ( mincgstate  state,
bool  needxrep 
)
inlinestatic
static void alglib.mincg.mincgsetdrep ( mincgstate  state,
bool  needdrep 
)
inlinestatic
static void alglib.mincg.mincgsetcgtype ( mincgstate  state,
int  cgtype 
)
inlinestatic
static void alglib.mincg.mincgsetstpmax ( mincgstate  state,
double  stpmax 
)
inlinestatic
static void alglib.mincg.mincgsuggeststep ( mincgstate  state,
double  stp 
)
inlinestatic
static void alglib.mincg.mincgsetprecdefault ( mincgstate  state)
inlinestatic
static void alglib.mincg.mincgsetprecdiag ( mincgstate  state,
double[]  d 
)
inlinestatic
static void alglib.mincg.mincgsetprecscale ( mincgstate  state)
inlinestatic
static bool alglib.mincg.mincgiteration ( mincgstate  state)
inlinestatic
static void alglib.mincg.mincgresults ( mincgstate  state,
ref double[]  x,
mincgreport  rep 
)
inlinestatic
static void alglib.mincg.mincgresultsbuf ( mincgstate  state,
ref double[]  x,
mincgreport  rep 
)
inlinestatic
static void alglib.mincg.mincgrestartfrom ( mincgstate  state,
double[]  x 
)
inlinestatic
static void alglib.mincg.mincgsetprecdiagfast ( mincgstate  state,
double[]  d 
)
inlinestatic
static void alglib.mincg.mincgsetpreclowrankfast ( mincgstate  state,
double[]  d1,
double[]  c,
double  v[,],
int  vcnt 
)
inlinestatic
static void alglib.mincg.mincgsetprecvarpart ( mincgstate  state,
double[]  d2 
)
inlinestatic
static void alglib.mincg.mincgsetgradientcheck ( mincgstate  state,
double  teststep 
)
inlinestatic
static void alglib.mincg.clearrequestfields ( mincgstate  state)
inlinestaticprivate
static void alglib.mincg.preconditionedmultiply ( mincgstate  state,
ref double[]  x,
ref double[]  work0,
ref double[]  work1 
)
inlinestaticprivate
static double alglib.mincg.preconditionedmultiply2 ( mincgstate  state,
ref double[]  x,
ref double[]  y,
ref double[]  work0,
ref double[]  work1 
)
inlinestaticprivate
static void alglib.mincg.mincginitinternal ( int  n,
double  diffstep,
mincgstate  state 
)
inlinestaticprivate

Member Data Documentation

const int alglib.mincg.rscountdownlen = 10
const double alglib.mincg.gtol = 0.3

The documentation for this class was generated from the following file: