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.linmin Class Reference

Classes

class  armijostate
 
class  linminstate
 

Static Public Member Functions

static void linminnormalized (ref double[] d, ref double stp, int n)
 
static void mcsrch (int n, ref double[] x, ref double f, ref double[] g, double[] s, ref double stp, double stpmax, double gtol, ref int info, ref int nfev, ref double[] wa, linminstate state, ref int stage)
 
static void armijocreate (int n, double[] x, double f, double[] s, double stp, double stpmax, int fmax, armijostate state)
 
static bool armijoiteration (armijostate state)
 
static void armijoresults (armijostate state, ref int info, ref double stp, ref double f)
 
static void linminnormalized (ref double[] d, ref double stp, int n)
 
static void mcsrch (int n, ref double[] x, ref double f, ref double[] g, double[] s, ref double stp, double stpmax, double gtol, ref int info, ref int nfev, ref double[] wa, linminstate state, ref int stage)
 
static void armijocreate (int n, double[] x, double f, double[] s, double stp, double stpmax, int fmax, armijostate state)
 
static bool armijoiteration (armijostate state)
 
static void armijoresults (armijostate state, ref int info, ref double stp, ref double f)
 

Public Attributes

const double ftol = 0.001
 
const double xtol = 100*math.machineepsilon
 
const int maxfev = 20
 
const double stpmin = 1.0E-50
 
const double defstpmax = 1.0E+50
 
const double armijofactor = 1.3
 

Static Private Member Functions

static void mcstep (ref double stx, ref double fx, ref double dx, ref double sty, ref double fy, ref double dy, ref double stp, double fp, double dp, ref bool brackt, double stmin, double stmax, ref int info)
 
static void mcstep (ref double stx, ref double fx, ref double dx, ref double sty, ref double fy, ref double dy, ref double stp, double fp, double dp, ref bool brackt, double stmin, double stmax, ref int info)
 

Member Function Documentation

static void alglib.linmin.linminnormalized ( ref double[]  d,
ref double  stp,
int  n 
)
inlinestatic
static void alglib.linmin.armijoresults ( armijostate  state,
ref int  info,
ref double  stp,
ref double  f 
)
inlinestatic
static void alglib.linmin.mcstep ( ref double  stx,
ref double  fx,
ref double  dx,
ref double  sty,
ref double  fy,
ref double  dy,
ref double  stp,
double  fp,
double  dp,
ref bool  brackt,
double  stmin,
double  stmax,
ref int  info 
)
inlinestaticprivate

References alglib.math.sqr().

Referenced by alglib.linmin.mcsrch().

static void alglib.linmin.linminnormalized ( ref double[]  d,
ref double  stp,
int  n 
)
inlinestatic
static void alglib.linmin.mcsrch ( int  n,
ref double[]  x,
ref double  f,
ref double[]  g,
double[]  s,
ref double  stp,
double  stpmax,
double  gtol,
ref int  info,
ref int  nfev,
ref double[]  wa,
linminstate  state,
ref int  stage 
)
inlinestatic
static void alglib.linmin.armijocreate ( int  n,
double[]  x,
double  f,
double[]  s,
double  stp,
double  stpmax,
int  fmax,
armijostate  state 
)
inlinestatic
static bool alglib.linmin.armijoiteration ( armijostate  state)
inlinestatic
static void alglib.linmin.armijoresults ( armijostate  state,
ref int  info,
ref double  stp,
ref double  f 
)
inlinestatic
static void alglib.linmin.mcstep ( ref double  stx,
ref double  fx,
ref double  dx,
ref double  sty,
ref double  fy,
ref double  dy,
ref double  stp,
double  fp,
double  dp,
ref bool  brackt,
double  stmin,
double  stmax,
ref int  info 
)
inlinestaticprivate

References alglib.math.sqr().

Member Data Documentation

const double alglib.linmin.ftol = 0.001
const double alglib.linmin.xtol = 100*math.machineepsilon
const int alglib.linmin.maxfev = 20
const double alglib.linmin.stpmin = 1.0E-50

Referenced by alglib.linmin.mcsrch().

const double alglib.linmin.defstpmax = 1.0E+50

Referenced by alglib.linmin.mcsrch().

const double alglib.linmin.armijofactor = 1.3

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