|
| template<class Config = DefaultReprConfig, std::intmax_t Num, std::intmax_t Denom> |
| std::string | repr (const sym::C< Num, Denom >) |
| |
| template<class Config = DefaultReprConfig, class ... Args> |
| std::string | repr (const sym::Var< Args... > &v) |
| |
| template<class Config = DefaultReprConfig, class Var , class Arg > |
| std::string | repr (const sym::Relation< Var, Arg > &sub) |
| |
| template<class Config = DefaultReprConfig, class Arg > |
| std::string | repr (const sym::UnaryOp< Arg, sym::detail::Sine > &f) |
| |
| template<class Config = DefaultReprConfig, class Arg > |
| std::string | repr (const sym::UnaryOp< Arg, sym::detail::Cosine > &f) |
| |
| template<class Config = DefaultReprConfig, class Arg > |
| std::string | repr (const sym::UnaryOp< Arg, sym::detail::Exp > &f) |
| |
| template<class Config = DefaultReprConfig, class Arg > |
| std::string | repr (const sym::UnaryOp< Arg, sym::detail::Log > &f) |
| |
| template<class Config = DefaultReprConfig, class Arg > |
| std::string | repr (const sym::UnaryOp< Arg, sym::detail::Absolute > &f) |
| |
| template<class Config = DefaultReprConfig, class Arg > |
| std::string | 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 | repr (const T &val) |
| |
| template<class Config = DefaultReprConfig, typename T > |
| std::enable_if< std::is_integral< T >::value, std::string >::type | repr (T a) |
| |
| template<class Config , class Float > |
| std::enable_if< std::is_floating_point< Float >::value, std::string >::type | repr (Float a) |
| |
| template<class Config = DefaultReprConfig, class LHS , class RHS , class Op > |
| std::string | repr (const sym::BinaryOp< LHS, Op, RHS > &op) |
| |
| template<class Config = DefaultReprConfig, class LHS , class RHS > |
| std::string | repr (const sym::BinaryOp< LHS, sym::detail::Power, RHS > &op) |
| |
| template<class Config = DefaultReprConfig, class LHS , class RHS > |
| std::string | repr (const sym::BinaryOp< LHS, sym::detail::Divide, RHS > &op) |
| |
| template<class Config = DefaultReprConfig, class LHS , class RHS > |
| std::string | repr (const sym::BinaryOp< LHS, sym::detail::Multiply, RHS > &op) |
| |
| template<class Config > |
| std::string | repr (const sym::RTBase &b) |
| |
| template<class Config > |
| std::string | repr (const sym::Expr &b) |
| |
| std::pair< std::string, size_t > | search_replace (std::string in, const std::string &from, const std::string &to) |
| | Search and replace elements in a std::string. More...
|
| |
| template<typename ... Args> |
| std::string | string_format (const std::string &format, Args ... args) |
| | A C++ version of snprintf allowing simple formatting of output. format A printf-style formatting string, such as "%.17f %s %g". args The arguments for substitution into the placeholders in the formatting string. More...
|
| |
| std::string | strip (const std::string &str, const std::string &whitespace=" \) |
| | A C++ version of python's string trim function str The string to be trimmed. whitespace A string of characters to be treated as whitespace and trimmed from the start and end of the string. More...
|
| |
Although the stator namespace is used for shared functionality (e.g., stator::Exception), most of the code is implemented under the namespaces stator::sym, stator::geometry, and stator::orphan.