Public Member Functions

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

#include <tan.hpp>

Inheritance diagram for Tan:
Inheritance graph
[legend]

List of all members.

Public Member Functions

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

Detailed Description

Implements the scalar tangens operator within the symbolic operators family.

The class Tan implements the scalar tangens operator within the symbolic operators family.

Author:
Boris Houska, Hans Joachim Ferreau

Definition at line 55 of file tan.hpp.


Constructor & Destructor Documentation

Default constructor.

Definition at line 54 of file tan.cpp.

Tan::Tan ( Operator _argument)

Default constructor.

Definition at line 65 of file tan.cpp.

Tan::Tan ( const Tan arg)

Copy constructor (deep copy).

Definition at line 76 of file tan.cpp.

Tan::~Tan ( )

Default destructor.

Definition at line 87 of file tan.cpp.


Member Function Documentation

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

Provides a deep copy of the expression.

Returns:
a clone of the expression.

Implements UnaryOperator.

Definition at line 112 of file tan.cpp.

Evaluates the expression (templated version)

Implements UnaryOperator.

Definition at line 100 of file tan.cpp.

Reimplemented from Operator.

Definition at line 117 of file tan.cpp.

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

Assignment Operator (deep copy).

Definition at line 92 of file tan.cpp.

Operator * Tan::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 106 of file tan.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