List of all members.
Public Member Functions |
| PointerSystem () |
| PointerSystem (int dim, Number(*f)(const int x, const stdVector &pt, void *data), Number(*df)(const int x, const stdVector &pt, const int dx, void *data), Number(*ddf)(const int x, const stdVector &pt, const int dx, const int dy, void *data), void *data, bool discretized=false) |
virtual | ~PointerSystem () |
Vector | eval (const Vector &x) |
Vector | evalCurvature (const Vector &x, int dx, int dy) |
Number | getMaxCurvature (const unsigned i, const unsigned dx, const unsigned dy, const Box &domain) |
Static Public Member Functions |
static double | CurvatureFunc (const std::vector< double > &x, std::vector< double > &grad, void *f_data) |
Public Attributes |
unsigned | curvatureFunctionX |
unsigned | curvatureFunctionDx |
unsigned | curvatureFunctionDy |
void * | dataPtr |
Constructor & Destructor Documentation
Non-consistent constructor
nltool::PointerSystem::PointerSystem |
( |
int |
dim, |
|
|
Number(*)(const int x, const stdVector &pt, void *data) |
f, |
|
|
Number(*)(const int x, const stdVector &pt, const int dx, void *data) |
df, |
|
|
Number(*)(const int x, const stdVector &pt, const int dx, const int dy, void *data) |
ddf, |
|
|
void * |
data, |
|
|
bool |
discretized = false |
|
) |
| |
Creates a dynamical based on function pointer
- Parameters:
-
dim | the system dimension |
f | function to evaluate the dynamics at a given point |
df | function derivated |
ddf | function double derivated |
discretized | is a discretized system? |
Member Function Documentation
Optimization function proxy for the NL opt library
- Parameters:
-
x | the initial guess in input and the optimization solution in output |
grad | gradient |
f_data | additional information |
- Returns:
Return the result of the double derivative of the system
- Parameters:
-
x | a point in the state space |
dx | first derivative variable indice in [0, dimension[ |
dy | second derivative variable indice in [0, dimension[ |
- Returns:
Compute the partial double derivative of the system
- Parameters:
-
i | indice for the system row |
dx | first derivative variable indice in [0, dimension[ |
dy | second derivative variable indice in [0, dimension[ |
domain | domain for the optimization |
- Returns:
The documentation for this class was generated from the following files: