Allows to setup function evaluation points. More...
#include <function_.hpp>
Public Member Functions | |
Tmatrix< T > | getDX () const |
Tmatrix< T > | getP () const |
Tmatrix< T > | getT () const |
Tmatrix< T > | getU () const |
Tmatrix< T > | getW () const |
Tmatrix< T > | getX () const |
Tmatrix< T > | getXA () const |
returnValue | init (const Function &f, uint nx_=0, uint na_=0, uint np_=0, uint nu_=0, uint nw_=0, uint nd_=0, uint N_=0) |
TevaluationPoint< T > & | operator= (const TevaluationPoint< T > &rhs) |
returnValue | setDX (const Tmatrix< T > &dx) |
returnValue | setP (const Tmatrix< T > &p) |
returnValue | setT (const Tmatrix< T > &t) |
returnValue | setU (const Tmatrix< T > &u) |
returnValue | setW (const Tmatrix< T > &w) |
returnValue | setX (const Tmatrix< T > &x) |
returnValue | setXA (const Tmatrix< T > &xa) |
TevaluationPoint () | |
TevaluationPoint (const Function &f, uint nx_=0, uint na_=0, uint nu_=0, uint np_=0, uint nw_=0, uint nd_=0, uint N_=0) | |
TevaluationPoint (const TevaluationPoint< T > &rhs) | |
virtual | ~TevaluationPoint () |
Protected Member Functions | |
Tmatrix< T > | backCopy (const int *order, const uint &dim) const |
returnValue | copy (const int *order, const Tmatrix< T > &rhs) |
void | copy (const TevaluationPoint &rhs) |
void | copyIdx (const uint &dim, const int *idx1, int **idx2) |
void | deleteAll () |
Tmatrix< T > * | getEvaluationPointer () const |
Protected Attributes | |
int ** | idx |
uint | N |
uint | na |
uint | nd |
uint | np |
uint | nu |
uint | nw |
uint | nx |
Tmatrix< T > * | z |
Friends | |
class | Function |
Allows to setup function evaluation points.
The class TevaluationPoint is an efficient data class for storing points at which
a function can be evaluated. This class can be used in combination with the class
function. The difference to the class EvaluationPoint is that it can be used with
any templated basis class.
\author Boris Houska
Definition at line 45 of file function_.hpp.
CLOSE_NAMESPACE_ACADO BEGIN_NAMESPACE_ACADO TevaluationPoint< T >::TevaluationPoint | ( | ) |
Default constructor.
Definition at line 173 of file t_evaluation_point.hpp.
TevaluationPoint< T >::TevaluationPoint | ( | const Function & | f, |
uint | nx_ = 0 , |
||
uint | na_ = 0 , |
||
uint | nu_ = 0 , |
||
uint | np_ = 0 , |
||
uint | nw_ = 0 , |
||
uint | nd_ = 0 , |
||
uint | N_ = 0 |
||
) |
Constructor which takes the function.
Definition at line 177 of file t_evaluation_point.hpp.
TevaluationPoint< T >::TevaluationPoint | ( | const TevaluationPoint< T > & | rhs | ) |
Copy constructor (deep copy).
Definition at line 174 of file t_evaluation_point.hpp.
|
virtual |
Destructor.
Definition at line 175 of file t_evaluation_point.hpp.
|
inlineprotected |
|
inlineprotected |
|
protected |
Definition at line 265 of file t_evaluation_point.hpp.
|
protected |
Definition at line 256 of file t_evaluation_point.hpp.
|
protected |
Definition at line 295 of file t_evaluation_point.hpp.
|
inline |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
returnValue TevaluationPoint< T >::init | ( | const Function & | f, |
uint | nx_ = 0 , |
||
uint | na_ = 0 , |
||
uint | np_ = 0 , |
||
uint | nu_ = 0 , |
||
uint | nw_ = 0 , |
||
uint | nd_ = 0 , |
||
uint | N_ = 0 |
||
) |
Initializer which takes the dimensions as arguments.
f | the function to be evaluated. |
nx | number of differential states. |
na | number of algebraic states. |
np | number of parameters. |
nu | number of controls. |
nw | number of disturbances. |
nd | number of diff. state derivatives. |
Definition at line 199 of file t_evaluation_point.hpp.
TevaluationPoint< T > & TevaluationPoint< T >::operator= | ( | const TevaluationPoint< T > & | rhs | ) |
Assignment operator (deep copy).
Definition at line 189 of file t_evaluation_point.hpp.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
Definition at line 58 of file t_evaluation_point.hpp.
|
protected |
index lists (for efficient reordering)
Definition at line 154 of file t_evaluation_point.hpp.
|
protected |
total number of variables
Definition at line 162 of file t_evaluation_point.hpp.
|
protected |
number of alg. states
Definition at line 157 of file t_evaluation_point.hpp.
|
protected |
number of diff. state der.
Definition at line 161 of file t_evaluation_point.hpp.
|
protected |
number of parameters
Definition at line 159 of file t_evaluation_point.hpp.
|
protected |
number of controls
Definition at line 158 of file t_evaluation_point.hpp.
|
protected |
number of disturbances
Definition at line 160 of file t_evaluation_point.hpp.
|
protected |
number of diff. states
Definition at line 156 of file t_evaluation_point.hpp.
|
protected |
the function evaluation point.
Definition at line 153 of file t_evaluation_point.hpp.