Minsky
|
#include <expr.h>
Public Member Functions | |
Expr (SubexpressionCache &cache, const NodePtr &x) | |
Expr (SubexpressionCache &cache, const shared_ptr< OperationDAGBase > &x) | |
Expr (SubexpressionCache &cache, const Node &x) | |
Expr (SubexpressionCache &cache, const WeakNodePtr &x) | |
shared_ptr< OperationDAGBase > | newNode (OperationType::Type type) const |
Expr | operator+ (const NodePtr &x) const |
Expr | operator- (const NodePtr &x) const |
Expr | operator* (const NodePtr &x) const |
Expr | operator/ (const NodePtr &x) const |
Public Attributes | |
SubexpressionCache & | cache |
|
inline |
Definition at line 32 of file expr.h.
References cache, and MathDAG::SubexpressionCache::insertAnonymous().
Referenced by operator*(), operator+(), operator-(), and operator/().
|
inline |
Definition at line 34 of file expr.h.
References cache, and MathDAG::SubexpressionCache::insertAnonymous().
|
inline |
Definition at line 36 of file expr.h.
|
inline |
Definition at line 38 of file expr.h.
|
inline |
Definition at line 41 of file expr.h.
References cache, MathDAG::OperationDAGBase::create(), and MathDAG::SubexpressionCache::insertAnonymous().
Referenced by MathDAG::cos(), MathDAG::cosh(), MathDAG::exp(), MathDAG::fact(), MathDAG::Gamma(), MathDAG::log(), operator*(), operator+(), operator-(), operator/(), MathDAG::operator<(), MathDAG::operator<=(), MathDAG::polygamma(), MathDAG::sin(), MathDAG::sinh(), and MathDAG::sqrt().
Definition at line 61 of file expr.h.
References cache, Expr(), MathDAG::SubexpressionCache::insertAnonymous(), minsky::OperationType::multiply, and newNode().
Definition at line 47 of file expr.h.
References minsky::OperationType::add, cache, Expr(), MathDAG::SubexpressionCache::insertAnonymous(), and newNode().
Definition at line 54 of file expr.h.
References cache, Expr(), MathDAG::SubexpressionCache::insertAnonymous(), newNode(), and minsky::OperationType::subtract.
Definition at line 68 of file expr.h.
References cache, minsky::OperationType::divide, Expr(), MathDAG::SubexpressionCache::insertAnonymous(), and newNode().
SubexpressionCache& MathDAG::Expr::cache |
Definition at line 31 of file expr.h.
Referenced by MathDAG::cos(), MathDAG::cosh(), MathDAG::exp(), Expr(), MathDAG::fact(), MathDAG::Gamma(), MathDAG::log(), newNode(), operator*(), operator+(), operator-(), MathDAG::operator-(), operator/(), MathDAG::operator/(), MathDAG::operator<(), MathDAG::operator<=(), MathDAG::polygamma(), MathDAG::sin(), MathDAG::sinh(), and MathDAG::sqrt().