Bertini 2 - C++ Core
Software for Numerical Algebraic Geometry
Loading...
Searching...
No Matches
bertini::node::NamedSymbol Class Reference

Symbols which have names are named symbols. More...

#include <symbol.hpp>

Inheritance diagram for bertini::node::NamedSymbol:
[legend]
Collaboration diagram for bertini::node::NamedSymbol:
[legend]

Public Member Functions

const std::string & name () const
 
void name (const std::string &new_name)
 
 NamedSymbol (const std::string &new_name)
 
void print (std::ostream &target) 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
virtual int Degree (std::shared_ptr< Variable > const &v=nullptr) const =0
 
virtual int Degree (VariableGroup const &vars) const =0
 
virtual std::shared_ptr< Node > Differentiate (std::shared_ptr< Variable > const &v=nullptr) const =0
 Compute the derivative with respect to a single variable.
 
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
 
virtual void Homogenize (VariableGroup const &vars, std::shared_ptr< Variable > const &homvar)=0
 
virtual bool IsHomogeneous (std::shared_ptr< Variable > const &v=nullptr) const =0
 
virtual bool IsHomogeneous (VariableGroup const &vars) const =0
 
bool IsPolynomial (std::shared_ptr< Variable > const &v=nullptr) const
 
bool IsPolynomial (VariableGroup const &v) const
 
virtual std::vector< int > MultiDegree (VariableGroup const &vars) const =0
 
virtual void precision (unsigned int prec) const =0
 
virtual unsigned ReduceDepth ()
 A mutating function which finds ways to reduce the depth of the tree.
 
virtual void Reset () const =0
 

Additional Inherited Members

- Protected Member Functions inherited from bertini::node::Node
virtual void FreshEval_d (dbl &evaluation_value, std::shared_ptr< Variable > const &) const =0
 
virtual dbl FreshEval_d (std::shared_ptr< Variable > const &) const =0
 
virtual void FreshEval_mp (mpfr_complex &evaluation_value, std::shared_ptr< Variable > const &) const =0
 
virtual mpfr_complex FreshEval_mp (std::shared_ptr< Variable > const &) const =0
 
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.
 

Detailed Description

Symbols which have names are named symbols.

Symbols which have names are named symbols.

Constructor & Destructor Documentation

◆ NamedSymbol()

bertini::node::NamedSymbol::NamedSymbol ( const std::string & new_name)

Parameterized constructor, sets the name of the symbol

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ name() [1/2]

const std::string & bertini::node::NamedSymbol::name ( ) const

Get the name of the named symbol

Here is the caller graph for this function:

◆ name() [2/2]

void bertini::node::NamedSymbol::name ( const std::string & new_name)

Get the name of the named symbol

◆ print()

void bertini::node::NamedSymbol::print ( std::ostream & target) const
overridevirtual

Virtual method for printing Nodes to arbitrary output streams.

Implements bertini::node::Node.

Here is the call graph for this function:

The documentation for this class was generated from the following files: