|
Medial Code Documentation
|
Common base class of any symbolic expressions. More...
#include <SymbolicIndex.h>
Public Member Functions | |
| const Derived & | derived () const |
| template<typename T > | |
| Index | eval (const T &values) const |
| Evaluate the expression given the values of the symbols. | |
| NegateExpr< Derived > | operator- () const |
| AddExpr< Derived, ValueExpr<> > | operator+ (Index b) const |
| AddExpr< Derived, ValueExpr<> > | operator- (Index a) const |
| ProductExpr< Derived, ValueExpr<> > | operator* (Index a) const |
| QuotientExpr< Derived, ValueExpr<> > | operator/ (Index a) const |
| template<int N> | |
| AddExpr< Derived, ValueExpr< internal::FixedInt< N > > > | operator+ (internal::FixedInt< N >) const |
| template<int N> | |
| AddExpr< Derived, ValueExpr< internal::FixedInt<-N > > > | operator- (internal::FixedInt< N >) const |
| template<int N> | |
| ProductExpr< Derived, ValueExpr< internal::FixedInt< N > > > | operator* (internal::FixedInt< N >) const |
| template<int N> | |
| QuotientExpr< Derived, ValueExpr< internal::FixedInt< N > > > | operator/ (internal::FixedInt< N >) const |
| template<int N> | |
| AddExpr< Derived, ValueExpr< internal::FixedInt< N > > > | operator+ (internal::FixedInt< N >(*)()) const |
| template<int N> | |
| AddExpr< Derived, ValueExpr< internal::FixedInt<-N > > > | operator- (internal::FixedInt< N >(*)()) const |
| template<int N> | |
| ProductExpr< Derived, ValueExpr< internal::FixedInt< N > > > | operator* (internal::FixedInt< N >(*)()) const |
| template<int N> | |
| QuotientExpr< Derived, ValueExpr< internal::FixedInt< N > > > | operator/ (internal::FixedInt< N >(*)()) const |
| template<typename OtherDerived > | |
| AddExpr< Derived, OtherDerived > | operator+ (const BaseExpr< OtherDerived > &b) const |
| template<typename OtherDerived > | |
| AddExpr< Derived, NegateExpr< OtherDerived > > | operator- (const BaseExpr< OtherDerived > &b) const |
| template<typename OtherDerived > | |
| ProductExpr< Derived, OtherDerived > | operator* (const BaseExpr< OtherDerived > &b) const |
| template<typename OtherDerived > | |
| QuotientExpr< Derived, OtherDerived > | operator/ (const BaseExpr< OtherDerived > &b) const |
Common base class of any symbolic expressions.
|
inline |
Evaluate the expression given the values of the symbols.
| values | defines the values of the symbols, it can either be a SymbolValue or a std::tuple of SymbolValue as constructed by SymbolExpr::operator= operator. |