MyraMath
Classes | Functions
expr.h File Reference

Overloads expr() for std::vector<Number> and (C++11 only) std::initializer_list<Number> More...

#include <myramath/MYRAMATH_EXPORT.h>
#include <myramath/utility/Number.h>
#include <vector>
#include <initializer_list>
Include dependency graph for expr.h:

Go to the source code of this file.

Classes

class  myra::Expression< Arity, Number >
 Given an index (i,j,etc), returns a value. More...
 

Functions

Expression< 1, bool > myra::expr (std::initializer_list< bool > list)
 Adapts a std::initializer_list<Number> into an arity-1 Expression of Number.
 
Expression< 1, NumberS > myra::expr (std::initializer_list< NumberS > list)
 
Expression< 1, NumberD > myra::expr (std::initializer_list< NumberD > list)
 
Expression< 1, NumberC > myra::expr (std::initializer_list< NumberC > list)
 
Expression< 1, NumberZ > myra::expr (std::initializer_list< NumberZ > list)
 
Expression< 1, bool > myra::expr (const std::vector< bool > &vector)
 Adapts a std::vector<Number> into an arity-1 Expression of Number.
 
Expression< 1, NumberS > myra::expr (const std::vector< NumberS > &vector)
 Adapts a std::vector<Number> into an arity-1 Expression of Number.
 
Expression< 1, NumberD > myra::expr (const std::vector< NumberD > &vector)
 Adapts a std::vector<Number> into an arity-1 Expression of Number.
 
Expression< 1, NumberC > myra::expr (const std::vector< NumberC > &vector)
 Adapts a std::vector<Number> into an arity-1 Expression of Number.
 
Expression< 1, NumberZ > myra::expr (const std::vector< NumberZ > &vector)
 Adapts a std::vector<Number> into an arity-1 Expression of Number.
 

Detailed Description

Overloads expr() for std::vector<Number> and (C++11 only) std::initializer_list<Number>