suanPan
|
#include <Expression.h>
Public Member Functions | |
SimpleScalarExpression (unsigned, const std::string_view &) | |
unique_ptr< Expression > | get_copy () const override |
Mat< double > | evaluate (const Col< double > &) override |
Mat< double > | gradient (const Col< double > &) override |
Public Member Functions inherited from Expression | |
Expression (unsigned, std::vector< std::string > &&) | |
Expression (const Expression &)=delete | |
Expression (Expression &&) noexcept=delete | |
Expression & | operator= (const Expression &)=delete |
Expression & | operator= (Expression &&) noexcept=delete |
~Expression () override=default | |
virtual unique_ptr< Expression > | get_copy () const =0 |
virtual uword | input_size () const |
virtual uword | output_size () const |
bool | compile (const std::string_view &) |
Mat< double > | evaluate (double) |
virtual Mat< double > | evaluate (const Col< double > &)=0 |
Mat< double > | gradient (double) |
virtual Mat< double > | gradient (const Col< double > &)=0 |
void | print () override |
Public Member Functions inherited from Tag | |
Tag (unsigned=0) | |
Tag (const Tag &)=default | |
Tag (Tag &&)=default | |
Tag & | operator= (const Tag &)=delete |
Tag & | operator= (Tag &&)=delete |
virtual | ~Tag ()=default |
void | set_tag (unsigned) const |
unsigned | get_tag () const |
void | enable () |
void | disable () |
void | guard () |
void | unguard () |
bool | is_active () const |
bool | is_guarded () const |
virtual void | print () |
Additional Inherited Members | |
Static Public Member Functions inherited from Expression | |
static std::string | error () |
Protected Attributes inherited from Expression | |
Col< double > | x |
std::string | expression_text |
std::vector< std::string > | variable_text_list |
exprtk::expression< double > | expression |
exprtk::symbol_table< double > | symbol_table |
SimpleScalarExpression::SimpleScalarExpression | ( | unsigned | tag, |
const std::string_view & | input_string | ||
) |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |