stator
A math, geometry, and utility library
Classes | Namespaces | Functions
print.hpp File Reference

Go to the source code of this file.

Classes

struct  stator::detail::BPVisitor
 Binding power visitor for sym::detail::BP(const Expr&). More...
 
struct  stator::detail::ReprVisitor< Config >
 

Namespaces

 stator
 The stator library namespace.
 
 stator::detail
 Namespace containing the details of the implmentation for general stator components.
 
 sym
 The stator symbolic math library.
 

Functions

template<class T >
std::pair< int, int > stator::detail::BP (const T &v)
 Returns the binding powers (precedence) of binary operators. More...
 
template<class LHS , class Op , class RHS >
std::pair< int, int > stator::detail::BP (const sym::BinaryOp< LHS, Op, RHS > &v)
 Returns the binding powers (precedence) of binary operators (specialisation for binary ops). More...
 
std::pair< int, int > stator::detail::BP (const sym::Expr &v)
 Returns the binding powers (precedence) of binary operators (specialisation for Expr). More...
 
template<class T , typename = typename std::enable_if<sym::IsSymbolic<T>::value>::type>
std::ostream & sym::operator<< (std::ostream &os, const T &v)
 
template<class Config >
std::string stator::detail::paren_wrap (std::string arg)
 
template<class Config = DefaultReprConfig, std::intmax_t Num, std::intmax_t Denom>
std::string stator::repr (const sym::C< Num, Denom >)
 
template<class Config = DefaultReprConfig, class ... Args>
std::string stator::repr (const sym::Var< Args... > &v)
 
template<class Config = DefaultReprConfig, class Var , class Arg >
std::string stator::repr (const sym::Relation< Var, Arg > &sub)
 
template<class Config = DefaultReprConfig, class Arg >
std::string stator::repr (const sym::UnaryOp< Arg, sym::detail::Sine > &f)
 
template<class Config = DefaultReprConfig, class Arg >
std::string stator::repr (const sym::UnaryOp< Arg, sym::detail::Cosine > &f)
 
template<class Config = DefaultReprConfig, class Arg >
std::string stator::repr (const sym::UnaryOp< Arg, sym::detail::Exp > &f)
 
template<class Config = DefaultReprConfig, class Arg >
std::string stator::repr (const sym::UnaryOp< Arg, sym::detail::Log > &f)
 
template<class Config = DefaultReprConfig, class Arg >
std::string stator::repr (const sym::UnaryOp< Arg, sym::detail::Absolute > &f)
 
template<class Config = DefaultReprConfig, class Arg >
std::string stator::repr (const sym::UnaryOp< Arg, sym::detail::Arbsign > &f)
 
template<class Config = DefaultReprConfig, class T , typename = typename std::enable_if<std::is_base_of<Eigen::EigenBase<T>, T>::value>::type>
std::string stator::repr (const T &val)
 
template<class Config = DefaultReprConfig, class LHS , class RHS , class Op >
std::string stator::repr (const sym::BinaryOp< LHS, Op, RHS > &op)
 
template<class Config = DefaultReprConfig, class LHS , class RHS >
std::string stator::repr (const sym::BinaryOp< LHS, sym::detail::Power, RHS > &op)
 
template<class Config = DefaultReprConfig, class LHS , class RHS >
std::string stator::repr (const sym::BinaryOp< LHS, sym::detail::Divide, RHS > &op)
 
template<class Config = DefaultReprConfig, class LHS , class RHS >
std::string stator::repr (const sym::BinaryOp< LHS, sym::detail::Multiply, RHS > &op)
 
template<class Config >
std::string stator::repr (const sym::RTBase &b)
 
template<class Config >
std::string stator::repr (const sym::Expr &b)