Public Member Functions | Protected Attributes | List of all members
MyConstraintProduct Class Reference

Example illustrating the use of the ConstraintProduct class. More...

Inheritance diagram for MyConstraintProduct:
Inheritance graph
[legend]

Public Member Functions

 MyConstraintProduct ()
 
 MyConstraintProduct ()
 
 MyConstraintProduct (int _nV, int _nC, real_t *_A)
 
 MyConstraintProduct (int_t _nV, int_t _nC, real_t *_A)
 
 MyConstraintProduct (const MyConstraintProduct &rhs)
 
 MyConstraintProduct (const MyConstraintProduct &rhs)
 
virtual int operator() (int constrIndex, const real_t *const x, real_t *const constrValue) const
 
virtual int_t operator() (int_t constrIndex, const real_t *const x, real_t *const constrValue) const
 
MyConstraintProductoperator= (const MyConstraintProduct &rhs)
 
MyConstraintProductoperator= (const MyConstraintProduct &rhs)
 
virtual ~MyConstraintProduct ()
 
virtual ~MyConstraintProduct ()
 
- Public Member Functions inherited from ConstraintProduct
 ConstraintProduct ()
 
 ConstraintProduct ()
 
 ConstraintProduct (const ConstraintProduct &toCopy)
 
 ConstraintProduct (const ConstraintProduct &toCopy)
 
ConstraintProductoperator= (const ConstraintProduct &toCopy)
 
ConstraintProductoperator= (const ConstraintProduct &toCopy)
 
virtual ~ConstraintProduct ()
 
virtual ~ConstraintProduct ()
 

Protected Attributes

real_tA
 
int nC
 
int_t nC
 
int nV
 
int_t nV
 

Detailed Description

Example illustrating the use of the ConstraintProduct class.

Example illustrating the use of the ConstraintProduct class.

Author
Hans Joachim Ferreau
Version
3.0beta
Date
2007-2011

Example illustrating the use of the ConstraintProduct class.

Author
Hans Joachim Ferreau
Version
3.2
Date
2007-2015

Definition at line 47 of file qpOASES-3.0beta/examples/example4CP.cpp.

Constructor & Destructor Documentation

MyConstraintProduct::MyConstraintProduct ( )
inline

Definition at line 50 of file qpOASES-3.0beta/examples/example4CP.cpp.

MyConstraintProduct::MyConstraintProduct ( int  _nV,
int  _nC,
real_t _A 
)
inline

Definition at line 52 of file qpOASES-3.0beta/examples/example4CP.cpp.

MyConstraintProduct::MyConstraintProduct ( const MyConstraintProduct rhs)
inline

Definition at line 62 of file qpOASES-3.0beta/examples/example4CP.cpp.

virtual MyConstraintProduct::~MyConstraintProduct ( )
inlinevirtual

Definition at line 70 of file qpOASES-3.0beta/examples/example4CP.cpp.

MyConstraintProduct::MyConstraintProduct ( )
inline

Default constructor.

Definition at line 51 of file qpOASES-3.2.0/examples/example4CP.cpp.

MyConstraintProduct::MyConstraintProduct ( int_t  _nV,
int_t  _nC,
real_t _A 
)
inline

Constructor.

Definition at line 54 of file qpOASES-3.2.0/examples/example4CP.cpp.

MyConstraintProduct::MyConstraintProduct ( const MyConstraintProduct rhs)
inline

Copy constructor (flat copy).

Definition at line 65 of file qpOASES-3.2.0/examples/example4CP.cpp.

virtual MyConstraintProduct::~MyConstraintProduct ( )
inlinevirtual

Destructor.

Definition at line 74 of file qpOASES-3.2.0/examples/example4CP.cpp.

Member Function Documentation

virtual int MyConstraintProduct::operator() ( int  constrIndex,
const real_t *const  x,
real_t *const  constrValue 
) const
inlinevirtual

Evaluates the product of a given constraint with the current iterate. This function needs to be implemented in a derived class for the user-defined constraint product function.

Returns
0: successful
otherwise: not successful

Implements ConstraintProduct.

Definition at line 85 of file qpOASES-3.0beta/examples/example4CP.cpp.

virtual int_t MyConstraintProduct::operator() ( int_t  constrIndex,
const real_t *const  x,
real_t *const  constrValue 
) const
inlinevirtual

Evaluates the product of a given constraint with the current iterate. This function needs to be implemented in a derived class for the user-defined constraint product function.

Returns
0: successful
otherwise: not successful

Implements ConstraintProduct.

Definition at line 89 of file qpOASES-3.2.0/examples/example4CP.cpp.

MyConstraintProduct& MyConstraintProduct::operator= ( const MyConstraintProduct rhs)
inline

Definition at line 72 of file qpOASES-3.0beta/examples/example4CP.cpp.

MyConstraintProduct& MyConstraintProduct::operator= ( const MyConstraintProduct rhs)
inline

Assignment operator (flat copy).

Definition at line 77 of file qpOASES-3.2.0/examples/example4CP.cpp.

Member Data Documentation

real_t * MyConstraintProduct::A
protected

Pointer to full constraint matrix (typically not needed!).

Definition at line 101 of file qpOASES-3.0beta/examples/example4CP.cpp.

int MyConstraintProduct::nC
protected

Definition at line 100 of file qpOASES-3.0beta/examples/example4CP.cpp.

int_t MyConstraintProduct::nC
protected

Number of constraints.

Definition at line 106 of file qpOASES-3.2.0/examples/example4CP.cpp.

int MyConstraintProduct::nV
protected

Definition at line 96 of file qpOASES-3.0beta/examples/example4CP.cpp.

int_t MyConstraintProduct::nV
protected

Number of variables.

Definition at line 102 of file qpOASES-3.2.0/examples/example4CP.cpp.


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


acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Mon Jun 10 2019 12:35:25