|
Bertini 2 - C++ Core
Software for Numerical Algebraic Geometry
|
Signed real Integer storage in an expression tree. More...
#include <number.hpp>
Public Member Functions | |
| void | print (std::ostream &target) const override |
Public Member Functions inherited from bertini::node::Number | |
| int | Degree (std::shared_ptr< Variable > const &v=nullptr) const override |
| Get the degree of this node. | |
| int | Degree (VariableGroup const &vars) const override |
| Get the degree of this node. | |
| std::shared_ptr< Node > | Differentiate (std::shared_ptr< Variable > const &v=nullptr) const override |
| Differentiate a number. | |
| void | Homogenize (VariableGroup const &vars, std::shared_ptr< Variable > const &homvar) override |
| Homogenize this node. | |
| bool | IsHomogeneous (std::shared_ptr< Variable > const &v=nullptr) const override |
| Is this node homogeneous? | |
| bool | IsHomogeneous (VariableGroup const &vars) const override |
| std::vector< int > | MultiDegree (VariableGroup const &vars) const override |
| Get the multidegree of this node. | |
| void | precision (unsigned int prec) const override |
| void | Reset () const override |
Public Member Functions inherited from bertini::node::Symbol | |
| unsigned | EliminateOnes () override |
| A transform function, which eliminates nodes from the tree. | |
| unsigned | EliminateZeros () override |
| A transform function, which eliminates nodes from the tree. | |
Public Member Functions inherited from bertini::node::Node | |
| template<typename T> | |
| T | Eval (std::shared_ptr< Variable > const &diff_variable=nullptr) const |
| template<typename T> | |
| void | EvalInPlace (T &eval_value, std::shared_ptr< Variable > const &diff_variable=nullptr) const |
| bool | IsPolynomial (std::shared_ptr< Variable > const &v=nullptr) const |
| bool | IsPolynomial (VariableGroup const &v) const |
| virtual unsigned | ReduceDepth () |
| A mutating function which finds ways to reduce the depth of the tree. | |
Additional Inherited Members | |
Protected Member Functions inherited from bertini::node::Node | |
| void | ResetStoredValues () const |
Static Protected Member Functions inherited from bertini::VisitableBase< RetT, CatchAll > | |
| template<typename T> | |
| static VisitReturnType | AcceptBase (T &visited, VisitorBase &guest) |
| Abstract method for how to accept a visitor. | |
Signed real Integer storage in an expression tree.
Signed real Integer storage in an expression tree. Consider using a Rational type.
|
overridevirtual |
Virtual method for printing Nodes to arbitrary output streams.
Implements bertini::node::Node.