Implements the scalar cosine operator within the symbolic operators family. More...
#include <cos.hpp>

Public Member Functions | |
| virtual Operator * | clone () const |
| Cos () | |
| Cos (Operator *_argument) | |
| Cos (const Cos &arg) | |
| virtual returnValue | evaluate (EvaluationBase *x) |
| virtual returnValue | initDerivative () |
| Cos & | operator= (const Cos &arg) |
| virtual Operator * | substitute (int index, const Operator *sub) |
| ~Cos () | |
Implements the scalar cosine operator within the symbolic operators family.
The class Cos implements the scalar cosine operator within the symbolic operators family.
| Operator * Cos::clone | ( | ) | const [virtual] |
Provides a deep copy of the expression.
Implements UnaryOperator.
| returnValue Cos::evaluate | ( | EvaluationBase * | x | ) | [virtual] |
Evaluates the expression (templated version)
Implements UnaryOperator.
| returnValue Cos::initDerivative | ( | ) | [virtual] |
| Operator * Cos::substitute | ( | int | index, |
| const Operator * | sub | ||
| ) | [virtual] |
Substitutes var(index) with the expression sub.
| index | subst. index |
| sub | the substitution |
Implements UnaryOperator.