Public Member Functions | Private Attributes

A class for exporting a function for calculation of the Cholesky decomposition. More...

#include <export_cholesky_decomposition.hpp>

Inheritance diagram for ExportCholeskyDecomposition:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ExportCholeskyDecomposition (UserInteraction *_userInteraction=0, const std::string &_commonHeaderName="")
virtual returnValue getCode (ExportStatementBlock &code)
virtual returnValue getDataDeclarations (ExportStatementBlock &declarations, ExportStruct dataStruct=ACADO_ANY) const
virtual returnValue getFunctionDeclarations (ExportStatementBlock &declarations) const
const std::string getName ()
returnValue init (const std::string &_name, unsigned _dim, bool _unrolling=false)
virtual returnValue setup ()
virtual ~ExportCholeskyDecomposition ()

Private Attributes

ExportVariable A
ExportFunction fcn
bool unrolling

Detailed Description

A class for exporting a function for calculation of the Cholesky decomposition.

Author:
Milan Vukov

Definition at line 50 of file export_cholesky_decomposition.hpp.


Constructor & Destructor Documentation

BEGIN_NAMESPACE_ACADO ExportCholeskyDecomposition::ExportCholeskyDecomposition ( UserInteraction _userInteraction = 0,
const std::string &  _commonHeaderName = "" 
)

Default constructor.

Parameters:
[in]_userInteractionPointer to corresponding user interface.
[in]_commonHeaderNameName of common header file to be included.

Definition at line 41 of file export_cholesky_decomposition.cpp.

Destructor.

Definition at line 64 of file export_cholesky_decomposition.hpp.


Member Function Documentation

Exports source code of the auto-generated algorithm into the given directory.

Parameters:
[in]codeCode block containing the auto-generated algorithm.
Returns:
SUCCESSFUL_RETURN

Implements ExportAlgorithm.

Definition at line 119 of file export_cholesky_decomposition.cpp.

Adds all data declarations of the auto-generated algorithm to given list of declarations.

Parameters:
[in]declarationsList of declarations.
Returns:
SUCCESSFUL_RETURN

Implements ExportAlgorithm.

Definition at line 103 of file export_cholesky_decomposition.cpp.

Adds all function (forward) declarations of the auto-generated algorithm to given list of declarations.

Parameters:
[in]declarationsList of declarations.
Returns:
SUCCESSFUL_RETURN

Implements ExportAlgorithm.

Definition at line 110 of file export_cholesky_decomposition.cpp.

const std::string ExportCholeskyDecomposition::getName ( )

Get name of the function that perform the decomposition.

Definition at line 128 of file export_cholesky_decomposition.cpp.

returnValue ExportCholeskyDecomposition::init ( const std::string &  _name,
unsigned  _dim,
bool  _unrolling = false 
)

Initializes the different parameters of the linear solver that will be exported.

Returns:
SUCCESSFUL_RETURN

Definition at line 48 of file export_cholesky_decomposition.cpp.

Initializes code export into given file.

Returns:
SUCCESSFUL_RETURN

Reimplemented from ExportAlgorithm.

Definition at line 61 of file export_cholesky_decomposition.cpp.


Member Data Documentation

Definition at line 115 of file export_cholesky_decomposition.hpp.

Definition at line 116 of file export_cholesky_decomposition.hpp.

Definition at line 117 of file export_cholesky_decomposition.hpp.


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