Implements the scalar logarithm operator within the symbolic operators family. More...
#include <logarithm.hpp>
Public Member Functions | |
virtual Operator * | clone () const |
virtual returnValue | evaluate (EvaluationBase *x) |
virtual CurvatureType | getCurvature () |
virtual returnValue | initDerivative () |
Logarithm () | |
Logarithm (Operator *_argument) | |
Logarithm (const Logarithm &arg) | |
Logarithm & | operator= (const Logarithm &arg) |
virtual Operator * | substitute (int index, const Operator *sub) |
~Logarithm () |
Implements the scalar logarithm operator within the symbolic operators family.
The class Log implements the scalar logarithm operator within the symbolic operators family.
Definition at line 55 of file logarithm.hpp.
Default constructor.
Definition at line 51 of file logarithm.cpp.
Logarithm::Logarithm | ( | Operator * | _argument | ) |
Default constructor.
Definition at line 62 of file logarithm.cpp.
Logarithm::Logarithm | ( | const Logarithm & | arg | ) |
Copy constructor (deep copy).
Definition at line 73 of file logarithm.cpp.
Default destructor.
Definition at line 84 of file logarithm.cpp.
Operator * Logarithm::clone | ( | ) | const [virtual] |
Provides a deep copy of the expression.
Implements UnaryOperator.
Definition at line 111 of file logarithm.cpp.
returnValue Logarithm::evaluate | ( | EvaluationBase * | x | ) | [virtual] |
Evaluates the expression (templated version)
Implements UnaryOperator.
Definition at line 97 of file logarithm.cpp.
CurvatureType Logarithm::getCurvature | ( | ) | [virtual] |
Returns the curvature of the expression
Reimplemented from UnaryOperator.
Definition at line 117 of file logarithm.cpp.
returnValue Logarithm::initDerivative | ( | ) | [virtual] |
Reimplemented from Operator.
Definition at line 130 of file logarithm.cpp.
Assignment Operator (deep copy).
Definition at line 89 of file logarithm.cpp.
Operator * Logarithm::substitute | ( | int | index, |
const Operator * | sub | ||
) | [virtual] |
Substitutes var(index) with the expression sub.
index | subst. index |
sub | the substitution |
Implements UnaryOperator.
Definition at line 105 of file logarithm.cpp.