|
fmatvec
0.0.0
|
#include <ast.h>
Classes | |
| struct | ConstructSymbol |
Public Member Functions | |
| SymbolicExpression () | |
| Creates the value 0. | |
| SymbolicExpression (const std::string &str) | |
| Creates a expression form the specified string (the string must be a serialized SymbolicExpression). | |
| SymbolicExpression (int x) | |
| Creates a integer constant. | |
| SymbolicExpression (long x) | |
| SymbolicExpression (double x) | |
| Creates a double constant. | |
| SymbolicExpression (const SymbolicExpression &x)=default | |
| SymbolicExpression (SymbolicExpression &&x)=default | |
| SymbolicExpression & | operator= (const SymbolicExpression &x)=default |
| SymbolicExpression & | operator= (SymbolicExpression &&x)=default |
| SymbolicExpression | operator+ (const SymbolicExpression &b) const |
| SymbolicExpression | operator- (const SymbolicExpression &b) const |
| SymbolicExpression | operator* (const SymbolicExpression &b) const |
| SymbolicExpression | operator/ (const SymbolicExpression &b) const |
| SymbolicExpression | operator- () const |
| SymbolicExpression & | operator+= (const SymbolicExpression &b) |
| SymbolicExpression & | operator-= (const SymbolicExpression &b) |
| SymbolicExpression & | operator*= (const SymbolicExpression &b) |
| SymbolicExpression & | operator/= (const SymbolicExpression &b) |
| SymbolicExpression & | operator<<= (const SymbolicExpression &src) |
| template<class T > | |
| SymbolicExpression (const shared_ptr< T > &x) | |
Static Public Member Functions | |
| static void | garbageCollect () |
Protected Member Functions | |
| template<class T > | |
| SymbolicExpression (const shared_ptr< T > &x) | |
| SymbolicExpression (ConstructSymbol) | |
Static Protected Attributes | |
| static const struct fmatvec::SymbolicExpression::ConstructSymbol | constructSymbol |
Friends | |
| template<class... Arg> | |
| class | Eval |
| class | EvalHelper |
| class | AST::Operation |
| class | AST::Constant< long > |
| class | AST::Constant< double > |
| class | AST::NativeFunction |
| FMATVEC_EXPORT SymbolicExpression | parDer (const SymbolicExpression &dep, const IndependentVariable &indep) |
| SymbolicExpression | AST::substScalar (const SymbolicExpression &se, const IndependentVariable &a, const SymbolicExpression &b) |
A symbolic expression. This class represent an arbitary symbolic expression. This can either be the special case of just a symbol or an arbitary expression consisting of a hierarchiy of operations consisting itself of expressions, symbols or constants.
|
static |
Garbage collect everything. The only "garbage" which can be left by this class are empty weak_ptr's stored in global maps. This routine removes such garbage.
|
friend |
Generate a new SymbolicExpression being the partial derivate of dep with respect to indep (indep must be a symbol).