|
returnValue | clearStaticCounters () |
|
virtual Expression * | clone () const |
|
| ExpressionType () |
|
| ExpressionType (const std::string &_name, unsigned _nRows, unsigned _nCols) |
|
| ExpressionType (const Expression &_expression, unsigned _componentIdx=0) |
|
| ExpressionType (const double &_arg) |
|
| ExpressionType (const DVector &_arg) |
|
| ExpressionType (const DMatrix &_arg) |
|
| ExpressionType (const Operator &_arg) |
|
virtual | ~ExpressionType () |
|
Expression | ADbackward (const Expression &arg) const |
|
Expression | ADbackward (const Expression &arg, const Expression &seed) const |
|
Expression | ADforward (const Expression &arg) const |
|
Expression | ADforward (const VariableType &varType_, const int *arg, int nV) const |
|
Expression | ADforward (const Expression &arg, const Expression &seed) const |
|
Expression | ADforward (const VariableType &varType_, const int *arg, const Expression &seed) const |
|
Expression | ADforward (const VariableType *varType_, const int *arg, const Expression &seed) const |
|
Expression | ADsymmetric (const Expression &arg, const Expression &S, const Expression &l, Expression *dfS=0, Expression *ldf=0) const |
|
Expression | ADsymmetric (const Expression &arg, const Expression &l, Expression *dfS=0, Expression *ldf=0) const |
|
Expression & | appendCols (const Expression &arg) |
|
Expression & | appendRows (const Expression &arg) |
|
| Expression () |
|
| Expression (const Operator &tree_) |
|
| Expression (const std::string &name_) |
|
| Expression (const std::string &name_, uint nRows_, uint nCols_, VariableType variableType_=VT_UNKNOWN, uint globalTypeID=0) |
|
| Expression (int nRows_, int nCols_=1, VariableType variableType_=VT_UNKNOWN, int globalTypeID=0) |
|
| Expression (uint nRows_, uint nCols_=1, VariableType variableType_=VT_UNKNOWN, uint globalTypeID=0) |
|
| Expression (const double &rhs) |
|
| Expression (const DVector &rhs) |
|
| Expression (const DMatrix &rhs) |
|
| Expression (const Expression &rhs) |
|
Expression | getAcos () const |
|
Expression | getAsin () const |
|
Expression | getAtan () const |
|
Expression | getCol (const uint &colIdx) const |
|
Expression | getCols (const uint &colIdx1, const uint &colIdx2) const |
|
uint | getComponent (const unsigned int idx) const |
|
Expression | getCos () const |
|
DMatrix | getDependencyPattern (const Expression &arg) const |
|
uint | getDim () const |
|
Expression | getDot () const |
|
Expression | getEntropy () const |
|
Expression | getEuclideanNorm () const |
|
Expression | getExp () const |
|
Expression | getInverse () const |
|
Expression | getLn () const |
|
Expression | getLogSumExp () const |
|
Expression | getNext () const |
|
uint | getNumCols () const |
|
uint | getNumRows () const |
|
Expression | getODEexpansion (const int &order, const int *arg) const |
|
Operator * | getOperatorClone (uint idx) const |
|
Expression | getPow (const Expression &arg) const |
|
Expression | getPowInt (const int &arg) const |
|
Expression | getRow (const uint &rowIdx) const |
|
Expression | getRows (const uint &rowIdx1, const uint &rowIdx2) const |
|
Expression | getSin () const |
|
DMatrix | getSparsityPattern () const |
|
Expression | getSqrt () const |
|
Expression | getSubMatrix (const uint &rowIdx1, const uint &rowIdx2, const uint &colIdx1, const uint &colIdx2) const |
|
Expression | getSumSquare () const |
|
Expression | getTan () const |
|
VariableType | getVariableType () const |
|
BooleanType | isDependingOn (VariableType type) const |
|
BooleanType | isDependingOn (const Expression &e) const |
|
BooleanType | isVariable () const |
|
Expression | operator() (uint idx) const |
|
Expression | operator() (uint rowIdx, uint colIdx) const |
|
Operator & | operator() (uint idx) |
|
Operator & | operator() (uint rowIdx, uint colIdx) |
|
Expression & | operator*= (const Expression &arg) |
|
Expression & | operator+= (const Expression &arg) |
|
Expression | operator- () const |
|
Expression & | operator-= (const Expression &arg) |
|
Expression & | operator/= (const Expression &arg) |
|
Expression & | operator<< (const Expression &arg) |
|
Expression & | operator= (const Expression &arg) |
|
std::ostream & | print (std::ostream &stream) const |
|
returnValue | substitute (int idx, const Expression &arg) const |
|
Expression | transpose () const |
|
virtual | ~Expression () |
|
template<class Derived, VariableType Type, bool AllowCounter = true>
class ExpressionType< Derived, Type, AllowCounter >
A helper class implementing the CRTP design pattern.
This class gives object counting and clone capability to a derived class via static polymorphism.
- Template Parameters
-
Derived | The derived class. |
Type | The expression type. |
- See also
- VariableType
- Template Parameters
-
AllowCounter | Allow object instance counting. |
- Note
- Unfortunately the derived classes have to implement all necessary ctors. In C++11, this can be done in a much simpler way. One only needs to say: using Base::Base.
Definition at line 340 of file expression.hpp.