Allows to setup and evaluate transition functions based on SymbolicExpressions. More...
#include <transition.hpp>
Public Member Functions | |
DVector | getDifferentialStateComponents () const |
Transition & | operator<< (const DifferentialState &arg) |
Transition & | operator= (const Transition &arg) |
Transition & | operator== (const Expression &arg) |
Transition & | operator== (const double &arg) |
Transition & | operator== (const DVector &arg) |
Transition & | operator== (const DMatrix &arg) |
Transition () | |
Transition (const Transition &arg) | |
virtual | ~Transition () |
Public Member Functions inherited from Function | |
returnValue | AD_backward (const DVector &seed, EvaluationPoint &df, const int &number=0) |
returnValue | AD_backward (int number, double *seed, double *df) |
returnValue | AD_backward2 (int number, double *seed1, double *seed2, double *df, double *ddf) |
DVector | AD_forward (const EvaluationPoint &x, const int &number=0) |
returnValue | AD_forward (int number, double *seed, double *df) |
returnValue | AD_forward2 (int number, double *seed1, double *seed2, double *df, double *ddf) |
BooleanType | ADisSupported () const |
returnValue | clearBuffer () |
DVector | evaluate (const EvaluationPoint &x, const int &number=0) |
template<typename T > | |
Tmatrix< T > | evaluate (const TevaluationPoint< T > &x) |
returnValue | evaluate (int number, double *x, double *_result) |
returnValue | exportCode (std::ostream &stream, const char *fcnName="ACADOfcn", const char *realString="double", uint _numX=0, uint _numXA=0, uint _numU=0, uint _numP=0, uint _numDX=0, uint _numOD=0, bool allocateMemory=true, bool staticMemory=false) const |
returnValue | exportForwardDeclarations (std::ostream &stream, const char *fcnName="ACADOfcn", const char *realString="double") const |
Function () | |
Function (const Function &rhs) | |
int | getDim () const |
returnValue | getExpression (Expression &expression) const |
Operator * | getExpression (uint componentIdx) const |
std::string | getGlobalExportVariableName () const |
unsigned | getGlobalExportVariableSize () const |
int | getN () const |
int | getN (VariableType &variableType_) const |
int | getNDX () const |
int | getNOD () const |
int | getNP () const |
int | getNPI () const |
int | getNT () const |
int | getNU () const |
int | getNUI () const |
int | getNumberOfVariables () const |
int | getNW () const |
int | getNX () const |
int | getNXA () const |
int | index (VariableType variableType_, int index_) const |
BooleanType | isAffine () |
BooleanType | isConcave () |
BooleanType | isConstant () |
BooleanType | isConvex () |
BooleanType | isDependingOn (const Expression &variable) |
BooleanType | isLinearIn (const Expression &variable) |
BooleanType | isNondecreasing () |
BooleanType | isNonincreasing () |
NeutralElement | isOneOrZero () |
BooleanType | isPolynomialIn (const Expression &variable) |
BooleanType | isRationalIn (const Expression &variable) |
BooleanType | isSymbolic () const |
returnValue | jacobian (DMatrix &x) |
calculate the jacobian of an evaluated function More... | |
Function | operator() (uint idx) const |
DVector | operator() (const EvaluationPoint &x, const int &number=0) |
Function & | operator<< (const Expression &arg) |
Function & | operator<< (const double &arg) |
Function & | operator<< (const DVector &arg) |
Function & | operator<< (const DMatrix &arg) |
Function & | operator= (const Function &rhs) |
returnValue | print (std::ostream &stream, const char *fcnName="ACADOfcn", const char *realString="double") const |
returnValue | reset () |
double | scale (VariableType variableType_, int index_) const |
returnValue | setGlobalExportVariableName (const std::string &var) |
returnValue | setMemoryOffset (int memoryOffset_) |
returnValue | setScale (double *scale_) |
returnValue | substitute (VariableType variableType_, int index_, double sub_) |
virtual | ~Function () |
Protected Attributes | |
int * | component |
int | counter |
Protected Attributes inherited from Function | |
FunctionEvaluationTree | evaluationTree |
int | memoryOffset |
double * | result |
Allows to setup and evaluate transition functions based on SymbolicExpressions.
The class OutputFcn allows to setup and evaluate transition functions based on SymbolicExpressions.
Definition at line 53 of file transition.hpp.
BEGIN_NAMESPACE_ACADO Transition::Transition | ( | ) |
Default constructor.
Definition at line 49 of file acado/function/transition.cpp.
Transition::Transition | ( | const Transition & | arg | ) |
Copy constructor (deep copy).
Definition at line 56 of file acado/function/transition.cpp.
|
virtual |
Destructor.
Definition at line 69 of file acado/function/transition.cpp.
|
inline |
Transition & Transition::operator<< | ( | const DifferentialState & | arg | ) |
Loading Expressions (deep copy).
Definition at line 101 of file acado/function/transition.cpp.
Transition & Transition::operator= | ( | const Transition & | arg | ) |
Assignment operator (deep copy).
Definition at line 75 of file acado/function/transition.cpp.
Transition & Transition::operator== | ( | const Expression & | arg | ) |
Loading Expressions (deep copy).
Definition at line 114 of file acado/function/transition.cpp.
Transition & Transition::operator== | ( | const double & | arg | ) |
Loading Expressions (deep copy).
Definition at line 121 of file acado/function/transition.cpp.
Transition & Transition::operator== | ( | const DVector & | arg | ) |
Loading Symbolic DVector (deep copy).
Definition at line 129 of file acado/function/transition.cpp.
Transition & Transition::operator== | ( | const DMatrix & | arg | ) |
Loading Symbolic DMatrix (deep copy).
Definition at line 140 of file acado/function/transition.cpp.
|
protected |
Definition at line 104 of file transition.hpp.
|
protected |
Definition at line 103 of file transition.hpp.