Minsky
|
#include <equations.h>
Public Member Functions | |
LockDAG (const Lock &lock) | |
int | BODMASlevel () const override |
algebraic heirarchy level, used for working out whether brackets are necessary. More... | |
ostream & | latex (ostream &o) const override |
writes LaTeX representation of this DAG to the stream More... | |
ostream & | matlab (ostream &o) const override |
writes a matlab representation of this DAG to the stream More... | |
void | render (ecolab::cairo::Surface &surf) const override |
renders a visual representation of this node to surf graphic extends right from the current pen position (which needs to be defined), and pen is moved to the right edge of the graphic. The determine bounding box, render into a recording surface, and use width()/height() More... | |
VariableValuePtr | addEvalOps (EvalOpVector &, const VariableValuePtr &result={}) override |
adds EvalOps to an EvalOpVector representing this node. More... | |
int | order (unsigned maxOrder) const override |
returns evaluation order in sequence of variable defintions More... | |
bool | tensorEval (std::set< const Node *> &) const override |
returns true if the evaluation of this involves tensor processing More... | |
std::shared_ptr< Node > | derivative (SystemOfEquations &) const override |
support for the derivative operator. More... | |
![]() | |
virtual | ~Node () |
std::string | latexStr () const |
std::string | matlabStr () const |
bool | tensorEval () |
returns true if the evaluation of this involves tensor processing More... | |
LaTeXManip | latex () const |
used within io streaming More... | |
MatlabManip | matlab () const |
Public Attributes | |
const Lock & | lock |
WeakNodePtr | rhs |
![]() | |
int | cachedOrder =-1 |
VariableValuePtr | result |
reference to where this node's value is stored More... | |
Definition at line 276 of file equations.h.
|
inline |
Definition at line 280 of file equations.h.
|
overridevirtual |
adds EvalOps to an EvalOpVector representing this node.
Implements MathDAG::Node.
Definition at line 795 of file equations.cc.
References MathDAG::Node::addEvalOps(), civita::createRavelChain(), lock, minsky::Lock::locked(), minsky::Lock::lockedState, MathDAG::Node::result, rhs, minsky::VariableType::tempFlow, minsky::Item::throw_error(), and minsky::VariableType::undefined.
|
inlineoverridevirtual |
algebraic heirarchy level, used for working out whether brackets are necessary.
Implements MathDAG::Node.
Definition at line 281 of file equations.h.
|
inlineoverridevirtual |
support for the derivative operator.
Implements MathDAG::Node.
Definition at line 288 of file equations.h.
References minsky::Item::throw_error().
|
inlineoverridevirtual |
writes LaTeX representation of this DAG to the stream
Implements MathDAG::Node.
Definition at line 282 of file equations.h.
|
inlineoverridevirtual |
writes a matlab representation of this DAG to the stream
Implements MathDAG::Node.
Definition at line 283 of file equations.h.
|
inlineoverridevirtual |
returns evaluation order in sequence of variable defintions
maxOrder | is used to limit the recursion depth |
Implements MathDAG::Node.
Definition at line 286 of file equations.h.
References MathDAG::Node::order().
|
overridevirtual |
renders a visual representation of this node to surf graphic extends right from the current pen position (which needs to be defined), and pen is moved to the right edge of the graphic. The determine bounding box, render into a recording surface, and use width()/height()
Implements MathDAG::Node.
Definition at line 224 of file equationDisplayRender.cc.
References MathDAG::anonymous_namespace{equationDisplayRender.cc}::print().
|
inlineoverridevirtual |
returns true if the evaluation of this involves tensor processing
visited | set to break graph cycles |
Implements MathDAG::Node.
Definition at line 287 of file equations.h.
const Lock& MathDAG::LockDAG::lock |
Definition at line 278 of file equations.h.
Referenced by addEvalOps().
WeakNodePtr MathDAG::LockDAG::rhs |
Definition at line 279 of file equations.h.
Referenced by addEvalOps().