Public Member Functions

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

#include <sin.hpp>

Inheritance diagram for Sin:
Inheritance graph
[legend]

List of all members.

Public Member Functions

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

Detailed Description

Implements the scalar sine operator within the symbolic operators family.

The class Sin implements the scalar sine operator within the symbolic operators family.

Author:
Boris Houska, Hans Joachim Ferreau

Definition at line 55 of file sin.hpp.


Constructor & Destructor Documentation

Default constructor.

Definition at line 47 of file sin.cpp.

Sin::Sin ( Operator _argument)

Default constructor.

Definition at line 58 of file sin.cpp.

Sin::Sin ( const Sin arg)

Copy constructor (deep copy).

Definition at line 69 of file sin.cpp.

Sin::~Sin ( )

Default destructor.

Definition at line 80 of file sin.cpp.


Member Function Documentation

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

Provides a deep copy of the expression.

Returns:
a clone of the expression.

Implements UnaryOperator.

Definition at line 106 of file sin.cpp.

Evaluates the expression (templated version)

Implements UnaryOperator.

Definition at line 93 of file sin.cpp.

Reimplemented from Operator.

Definition at line 111 of file sin.cpp.

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

Assignment Operator (deep copy).

Definition at line 85 of file sin.cpp.

Operator * Sin::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 100 of file sin.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:40