A Expression class represents a maths expression.
More...
#include <Expression.h>
|
static std::string | error () |
|
A Expression class represents a maths expression.
- Author
- tlc
- Date
- 12/01/2023
◆ Expression() [1/3]
Expression::Expression |
( |
unsigned |
tag, |
|
|
std::vector< std::string > && |
variable_string |
|
) |
| |
◆ Expression() [2/3]
◆ Expression() [3/3]
◆ ~Expression()
Expression::~Expression |
( |
| ) |
|
|
overridedefault |
◆ compile()
bool Expression::compile |
( |
const std::string_view & |
expression_string | ) |
|
◆ error()
std::string Expression::error |
( |
| ) |
|
|
static |
◆ evaluate() [1/2]
virtual Mat< double > Expression::evaluate |
( |
const Col< double > & |
| ) |
|
|
pure virtual |
◆ evaluate() [2/2]
Mat< double > Expression::evaluate |
( |
double |
in_x | ) |
|
◆ get_copy()
virtual unique_ptr< Expression > Expression::get_copy |
( |
| ) |
const |
|
pure virtual |
◆ gradient() [1/2]
virtual Mat< double > Expression::gradient |
( |
const Col< double > & |
| ) |
|
|
pure virtual |
◆ gradient() [2/2]
Mat< double > Expression::gradient |
( |
double |
in_x | ) |
|
◆ input_size()
uword Expression::input_size |
( |
| ) |
const |
|
virtual |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ output_size()
uword Expression::output_size |
( |
| ) |
const |
|
virtual |
◆ print()
void Expression::print |
( |
| ) |
|
|
overridevirtual |
◆ expression
exprtk::expression<double> Expression::expression |
|
protected |
◆ expression_text
std::string Expression::expression_text |
|
protected |
◆ symbol_table
exprtk::symbol_table<double> Expression::symbol_table |
|
protected |
◆ variable_text_list
std::vector<std::string> Expression::variable_text_list |
|
protected |
Col<double> Expression::x |
|
protected |
The documentation for this class was generated from the following files: