MyraMath
Functions
print.h File Reference

Prints an Expression, by evaluate()'ing it at every Index i. More...

#include <myramath/expression/Index.h>
#include <myramath/expression/Expression.h>
#include <iostream>
Include dependency graph for print.h:

Go to the source code of this file.

Functions

template<class Number >
std::ostream & myra::operator<< (std::ostream &out, const Expression< 1, Number > &e)
 Prints an Expression with Arity=1.
 
template<class Number >
std::ostream & myra::operator<< (std::ostream &out, const Expression< 2, Number > &e)
 Prints an Expression with Arity=2.
 
template<int Arity>
std::ostream & myra::operator<< (std::ostream &out, const Index< Arity > &index)
 Prints an Index of any Arity.
 

Detailed Description

Prints an Expression, by evaluate()'ing it at every Index i.