Bases: Node
A base class for expressions (including variables and params).
-
abstractmethod evaluate()[source]
Evaluate the expression numerically.
- Returns:
val – The floating point value of the expression.
- Return type:
float
-
abstractmethod get_floats()[source]
-
abstractmethod get_leaves()[source]
-
abstractmethod get_params()[source]
-
abstractmethod get_rpn(leaf_ndx_map)[source]
-
abstractmethod get_vars()[source]
-
abstractmethod is_expression_type()[source]
-
abstractmethod is_float_type()[source]
-
abstractmethod is_leaf()
-
abstractmethod is_parameter_type()[source]
-
is_relational()[source]
-
abstractmethod is_variable_type()[source]
-
abstractmethod last_node()[source]
-
abstractmethod operators()[source]
-
abstractmethod reverse_ad()[source]
-
abstractmethod reverse_sd()[source]