suanPan
|
#include <Expression.h>
Public Member Functions | |
SimpleVectorExpression (unsigned, const std::string &, const std::string &) | |
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, const std::string &) | |
virtual uword | input_size () const |
virtual uword | output_size () const |
bool | compile (const std::string &) |
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 string | error () |
Protected Attributes inherited from Expression | |
Col< double > | x |
exprtk::expression< double > | expression |
exprtk::symbol_table< double > | symbol_table |
SimpleVectorExpression::SimpleVectorExpression | ( | unsigned | tag, |
const std::string & | variable_string, | ||
const std::string & | output_string | ||
) |
|
overridevirtual |
|
inlineoverridevirtual |
Implements Expression.
|
overridevirtual |
Reimplemented from Expression.