|
stator
A math, geometry, and utility library
|
#include <runtime.hpp>
Public Member Functions | |
| DerivativeRT (VarRT var) | |
| template<class T , typename = typename std::enable_if<IsConstant<T>::value>::type> | |
| Expr | apply (const T &v) |
| Visitor to allow the compile time derivative implementation for unary operators. More... | |
| Expr | apply (const VarRT &v) |
| template<class Op > | |
| Expr | apply (const UnaryOp< Expr, Op > &v) |
| template<typename Op > | |
| Expr | apply (const BinaryOp< Expr, Op, Expr > &op) |
Public Member Functions inherited from sym::detail::VisitorHelper< DerivativeRT > | |
| virtual Expr | visit (const double &x) |
| virtual Expr | visit (const VarRT &x) |
| virtual Expr | visit (const UnaryOp< Expr, detail::Sine > &x) |
| virtual Expr | visit (const UnaryOp< Expr, detail::Cosine > &x) |
| virtual Expr | visit (const UnaryOp< Expr, detail::Log > &x) |
| virtual Expr | visit (const UnaryOp< Expr, detail::Exp > &x) |
| virtual Expr | visit (const UnaryOp< Expr, detail::Absolute > &x) |
| virtual Expr | visit (const UnaryOp< Expr, detail::Arbsign > &x) |
| virtual Expr | visit (const BinaryOp< Expr, detail::Add, Expr > &x) |
| virtual Expr | visit (const BinaryOp< Expr, detail::Subtract, Expr > &x) |
| virtual Expr | visit (const BinaryOp< Expr, detail::Multiply, Expr > &x) |
| virtual Expr | visit (const BinaryOp< Expr, detail::Divide, Expr > &x) |
| virtual Expr | visit (const BinaryOp< Expr, detail::Power, Expr > &x) |
Public Attributes | |
| VarRT | _var |
Definition at line 563 of file runtime.hpp.
|
inline |
Definition at line 564 of file runtime.hpp.
|
inline |
This visitor is used to determine the type of the argument.
Handover to compile-time implementation for binary op derivatives.
Definition at line 591 of file runtime.hpp.
Definition at line 595 of file runtime.hpp.
Definition at line 600 of file runtime.hpp.
|
inline |
Definition at line 607 of file runtime.hpp.
| VarRT sym::detail::DerivativeRT::_var |
Definition at line 613 of file runtime.hpp.
1.8.13