Class xlifepp::SymbolicFunction#
-
class SymbolicFunction#
-
Collaboration diagram for xlifepp::SymbolicFunction:
binary node to represent symbolic functions
Public Functions
-
inline explicit SymbolicFunction(VariableName v = _varUndef)#
-
constructor/destructor
-
inline bool isConst() const#
-
true if a constant expression
-
inline bool isSingle() const#
-
true if a single expression (constant or variable name)
-
inline bool isVar() const#
-
true if a var expression
-
std::set<VariableName> listOfVar() const#
-
list of involved variables
-
void reduce()#
-
reduce symbolic function
-
void reduceConst()#
-
reduce constant in symbolic function
-
void reduceFun()#
-
reduce function in symbolic function
Public Members
-
complex_t coef#
-
coefficient to apply to
-
const SymbolicFunction *fn1#
-
first node involved (0 by default)
-
const SymbolicFunction *fn2#
-
second node involved (0 by default)
-
SymbolicOperation op#
-
operation involved (id by default)
-
complex_t par#
-
additional parameter required by some operation (e.g power)
-
VariableName var#
-
variable involved (undef by default)
-
inline explicit SymbolicFunction(VariableName v = _varUndef)#