#include <minimize.h>
At the moment there are no minimizers of this type implemented in O2scl .
Definition at line 388 of file minimize.h.
Public Member Functions | |
virtual int | min (double &x, double &fmin, param_t &pa, func_t &func) |
Calculate the minimum min of func w.r.t 'x'. | |
virtual int | min_bkt (double &x2, double x1, double x3, double &fmin, param_t &pa, func_t &func) |
Calculate the minimum min of func with x2 bracketed between x1 and x3. | |
virtual int | min_de (double &x, double &fmin, param_t &pa, func_t &func, dfunc_t &df)=0 |
Calculate the minimum min of func with derivative dfunc w.r.t 'x'. | |
virtual const char * | type () |
Return string denoting type ("minimize_de"). |
virtual int min | ( | double & | x, | |
double & | fmin, | |||
param_t & | pa, | |||
func_t & | func | |||
) | [inline, virtual] |
Calculate the minimum min
of func
w.r.t 'x'.
If this is not overloaded, it attempts to bracket the minimum using bracket() and then calls min_bkt() with the newly bracketed minimum.
Implements minimize.
Definition at line 404 of file minimize.h.
virtual int min_bkt | ( | double & | x2, | |
double | x1, | |||
double | x3, | |||
double & | fmin, | |||
param_t & | pa, | |||
func_t & | func | |||
) | [inline, virtual] |
Calculate the minimum min
of func
with x2 bracketed between x1 and x3.
If this is not overloaded, it ignores the bracket and calls min().
Implements minimize.
Definition at line 413 of file minimize.h.
virtual int min_de | ( | double & | x, | |
double & | fmin, | |||
param_t & | pa, | |||
func_t & | func, | |||
dfunc_t & | df | |||
) | [pure virtual] |
Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.
Project hosting provided by
,
O2scl Sourceforge Project Page