40 #ifndef _BRENTONEDIMENSION_H_ 41 #define _BRENTONEDIMENSION_H_ 83 double a,
b,
d,
e,
etemp,
fu,
fv,
fw,
fx,
p,
q,
r,
tol1,
tol2,
u,
v,
w,
x,
xm;
149 #endif //_BRENTONEDIMENSION_H_
This class allows to perform a correspondence analysis.
This is the function abstract class.
virtual ~BrentOneDimension()
The parameter list object.
bool isInitialIntervalSet_
BODStopCondition * clone() const
Create a copy of this object and send a pointer to it.
bool isToleranceReached() const
Tell if the we reached the desired tolerance with a given new set of estimates.
virtual ~BODStopCondition()
bool isInitialIntervalSet() const
double getCurrentTolerance() const
Get the current tolerance.
double optimize()
Initialize optimizer.
Brent's optimization for one parameter.
Partial implementation of the Optimizer interface.
void doInit(const ParameterList ¶ms)
This function is called by the init() method and contains all calculations.
double doStep()
This function is called by the step() method and contains all calculations.
BODStopCondition(BrentOneDimension *bod)
void setInitialInterval(double inf, double sup)
Set intial search interval.
Partial implementation of the OptimizationStopCondition interface.
BrentOneDimension(Function *function=0)
BrentOneDimension * clone() const
Create a copy of this object and send a pointer to it.