|
suanPan
|
#include <Expression.h>
Public Member Functions | |
| SimpleVectorExpression (unsigned, const std::string_view &, const std::string_view &) | |
| unique_ptr< Expression > | get_copy () const override |
| uword | output_size () 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 uword | input_size () const |
| bool | compile (const std::string_view &) |
| Mat< double > | evaluate (double) |
| Mat< double > | gradient (double) |
| 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 |
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 |
| SimpleVectorExpression::SimpleVectorExpression | ( | unsigned | tag, |
| const std::string_view & | input_string, | ||
| const std::string_view & | output_string | ||
| ) |
|
overridevirtual |
|
overridevirtual |
|
inlineoverridevirtual |
Implements Expression.
|
overridevirtual |
Reimplemented from Expression.