Public Member Functions

Implements the scalar cosine operator within the symbolic operators family. More...

#include <cos.hpp>

Inheritance diagram for Cos:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual Operatorclone () const
 Cos ()
 Cos (Operator *_argument)
 Cos (const Cos &arg)
virtual returnValue evaluate (EvaluationBase *x)
virtual returnValue initDerivative ()
Cosoperator= (const Cos &arg)
virtual Operatorsubstitute (int index, const Operator *sub)
 ~Cos ()

Detailed Description

Implements the scalar cosine operator within the symbolic operators family.

The class Cos implements the scalar cosine operator within the symbolic operators family.

Author:
Boris Houska, Hans Joachim Ferreau

Definition at line 55 of file cos.hpp.


Constructor & Destructor Documentation

Default constructor.

Definition at line 51 of file cos.cpp.

Cos::Cos ( Operator _argument)

Default constructor.

Definition at line 62 of file cos.cpp.

Cos::Cos ( const Cos arg)

Copy constructor (deep copy).

Definition at line 73 of file cos.cpp.

Cos::~Cos ( )

Default destructor.

Definition at line 84 of file cos.cpp.


Member Function Documentation

Operator * Cos::clone ( ) const [virtual]

Provides a deep copy of the expression.

Returns:
a clone of the expression.

Implements UnaryOperator.

Definition at line 110 of file cos.cpp.

Evaluates the expression (templated version)

Implements UnaryOperator.

Definition at line 97 of file cos.cpp.

Reimplemented from Operator.

Definition at line 115 of file cos.cpp.

Cos & Cos::operator= ( const Cos arg)

Assignment Operator (deep copy).

Definition at line 89 of file cos.cpp.

Operator * Cos::substitute ( int  index,
const Operator sub 
) [virtual]

Substitutes var(index) with the expression sub.

Returns:
The substituted expression.
Parameters:
indexsubst. index
subthe substitution

Implements UnaryOperator.

Definition at line 104 of file cos.cpp.


The documentation for this class was generated from the following files:


acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Thu Aug 27 2015 12:01:38