#include <min.h>
List of all members.
Public Types |
typedef double(Instance::* | pF )(double const X[]) |
| calc F (returns F(X))
|
typedef void(Instance::* | pdF )(double const X[], double dFdX[]) |
| calc dFdX
|
Public Member Functions |
| Min (Instance *p2Inst, pF p2F, pdF p2dF, size_t NDim, char const *Scheme="BFGS") |
| p2dF can be NULL, in this case Scheme must be NMSimplex or NMSimplexRnd
|
| ~Min () |
void | SetScheme (char const *Scheme="BFGS") |
| if p2dF is NULL, scheme must be NMSimplex or NMSimplexRnd
|
double | Find (double X[], double StepSize=0.01, double Tol=1.0e-3, size_t MaxIt=1000) |
| Find min around X. Returns results in X.
|
double | _call_F (double const X[]) |
void | _call_dF (double const X[], double dFdX[]) |
Public Attributes |
bool | Debug |
template<typename Instance>
class Numerical::Min< Instance >
Member Typedef Documentation
template<typename Instance>
typedef void(Instance::* Numerical::Min< Instance >::pdF)(double const X[], double dFdX[]) |
template<typename Instance>
Constructor & Destructor Documentation
template<typename Instance >
Numerical::Min< Instance >::Min |
( |
Instance * |
p2Inst, |
|
|
pF |
p2F, |
|
|
pdF |
p2dF, |
|
|
size_t |
NDim, |
|
|
char const * |
Scheme = "BFGS" |
|
) |
| [inline] |
p2dF can be NULL, in this case Scheme must be NMSimplex or NMSimplexRnd
template<typename Instance >
Member Function Documentation
template<typename Instance>
template<typename Instance>
template<typename Instance >
double Numerical::Min< Instance >::Find |
( |
double |
X[], |
|
|
double |
StepSize = 0.01 , |
|
|
double |
Tol = 1.0e-3 , |
|
|
size_t |
MaxIt = 1000 |
|
) |
| [inline] |
Find min around X. Returns results in X.
template<typename Instance >
if p2dF is NULL, scheme must be NMSimplex or NMSimplexRnd
Member Data Documentation
template<typename Instance>
The documentation for this class was generated from the following file:
- /home/dorival/mechsys/lib/numerical/min.h