MyraMath
|
Given an index (i,j,etc), returns a value. More...
#include <Expression.h>
Public Member Functions | |
Expression () | |
Default constructor, initializes with a NullExpression. | |
Expression (const detail::ExpressionBase< Arity, Number > &that) | |
Clone constructor (deep). | |
Expression (const Expression< Arity, Number > &that) | |
Copy constructor (deep). | |
void | swap (Expression< Arity, Number > &that) |
Member swap. | |
Expression< Arity, Number > & | operator= (Expression< Arity, Number > that) |
Assignment operator, copy and swap idiom. | |
~Expression () | |
Frees internal resources. | |
Index< Arity > | size () const |
Size inspector. | |
Number | evaluate (Index< Arity > i) const |
Given an Index i, returns a Number. | |
Number | evaluate (std::initializer_list< int > i) const |
A version of evaluate that works on a std::initializer_list[]. | |
Given an index (i,j,etc), returns a value.