1 #ifndef MATH_EOperator_H
2 #define MATH_EOperator_H
50 static inline SP::MATH_EOperator
New() {
80 if (arg1.get()!=
null) retCode=arg1->evaluate(action,symbols,var);
82 for (
int i=0;i<n;i++) var[i]=pow(10,var[i]);
virtual int evaluate(const tFlag &action, MATH_Environment &symbols, MATH_Variable &var) const
void evaluate the expression
Definition: MATH_EOperator.h:76
static SP::MATH_EOperator New()
create a node expression
Definition: MATH_EOperator.h:50
DEFINE_SPTR(MATH_EOperator)
This class decribes a variable class for evaluation.
Definition: MATH_Variable.h:16
virtual SP::MATH_NodeExpression newInstance() const
create a node expression
Definition: MATH_EOperator.h:58
SPC::MATH_ChildExpression getArgument(const int &i) const
get argument at index i for reading
Definition: MATH_ParentExpression.h:124
virtual ~MATH_EOperator(void)
destroy
Definition: MATH_EOperator.h:41
#define null
Definition: types.h:13
int getSize() const
get the size
Definition: MATH_Variable.h:237
This class decribes an unary operator wiath is associated to a binary operator which replaces it if n...
Definition: MATH_UnaryOperator.h:17
This class describes a ten power operator (algebric: 10^)
Definition: MATH_EOperator.h:17
This class decribes an environment class.
Definition: MATH_Environment.h:14
static const int SUCCESS
Definition: MATH_Expression.h:41
void setName(const tString &n)
set the operator name
Definition: MATH_Operator.h:45
MATH_EOperator(void)
create
Definition: MATH_EOperator.h:30
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:106
#define tFlag
Definition: types.h:14