1 #ifndef EXPR_LinearFunction_H
2 #define EXPR_LinearFunction_H
4 #include "EXPR_Function.h"
8 #include "core_numeric.h"
46 static inline CORE_UniquePointer<EXPR_LinearFunction>
New() {
85 virtual void apply(
const std::vector<tString>& args,
87 std::array<tReal,9> x;
90 core_numeric::parse(arg,*iX);
94 node.leftComposition(x);
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:113
This class described a function.
Definition: EXPR_Function.h:15
void setName(const tString &name)
set the name of the function
Definition: EXPR_Function.h:44
This class describes.
Definition: EXPR_LinearFunction.h:17
static CORE_UniquePointer< EXPR_LinearFunction > New()
return an unique instance of this class
Definition: EXPR_LinearFunction.h:46
virtual tMemSize getContentsMemorySize() const override
return nthe memory size of the included associations
Definition: EXPR_LinearFunction.h:74
virtual void apply(const std::vector< tString > &args, EXPR_Node &node) const final
apply the function to the environment
Definition: EXPR_LinearFunction.h:85
virtual ~EXPR_LinearFunction()
delete the class
Definition: EXPR_LinearFunction.h:37
EXPR_LinearFunction()
create the class
Definition: EXPR_LinearFunction.h:30
virtual tMemSize getMemorySize() const override
return the memory size of the class
Definition: EXPR_LinearFunction.h:62
This class is a base class of the binary tree.
Definition: EXPR_Node.h:16
virtual tMemSize getContentsMemorySize() const override
return nthe memory size of the included associations
Definition: EXPR_Object.h:70