#include <var.h>

Classes | |
| struct | ParMult |
Public Member Functions | |
| Variable (const std::string &name_, int nr_) | |
| Variable (const std::string &name_, const std::vector< std::string > &vars_, const std::vector< OpTree * > &op_trees_) | |
| void | recalculate (const std::vector< Variable * > &variables, const std::vector< realt > ¶meters) |
| int | get_nr () const |
| void | erased_parameter (int k) |
| realt | get_value () const |
| std::string | get_formula (const std::vector< realt > ¶meters) const |
| bool | is_visible () const |
| void | set_var_idx (const std::vector< Variable * > &variables) |
| const std::vector< ParMult > & | recursive_derivatives () const |
| bool | is_simple () const |
| bool | is_constant () const |
| std::vector< OpTree * > const & | get_op_trees () const |
| void | set_original (const Variable *orig) |
| realt | get_derivative (int n) const |
Public Attributes | |
| RealRange | domain |
the variable is either simple-variable and nr_ is the index in vector of parameters, or it is "compound variable" and has nr_==-1. third special case: nr_==-2 - it is mirror-variable (such variable is not recalculated but copied) In the second case, the value and derivatives are calculated:
Definition at line 63 of file var.h.
| void Variable::set_var_idx | ( | const std::vector< Variable * > & | variables | ) | [virtual] |
(re-)create bytecode, required after set_var_idx()
Reimplemented from VariableUser.
Definition at line 89 of file var.cpp.
References VariableUser::var_idx.