Public Member Functions | Protected Attributes

Allows to export Gaussian elimination for solving linear systems of specific dimensions. More...

#include <gaussian_elimination_export.hpp>

Inheritance diagram for ExportGaussElim:
Inheritance graph
[legend]

List of all members.

Public Member Functions

returnValue appendVariableNames (std::stringstream &string)
 ExportGaussElim (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
virtual ExportVariable getGlobalExportVariable (const uint factor) const
virtual returnValue setup ()
virtual ~ExportGaussElim ()

Protected Attributes

ExportVariable rk_bPerm
ExportVariable rk_perm
ExportVariable rk_swap

Detailed Description

Allows to export Gaussian elimination for solving linear systems of specific dimensions.

The class ExportGaussElim allows to export Gaussian elimination for solving linear systems of specific dimensions.

Author:
Rien Quirynen

Definition at line 54 of file gaussian_elimination_export.hpp.


Constructor & Destructor Documentation

BEGIN_NAMESPACE_ACADO ExportGaussElim::ExportGaussElim ( 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 44 of file gaussian_elimination_export.cpp.

Destructor.

Definition at line 50 of file gaussian_elimination_export.cpp.


Member Function Documentation

returnValue ExportGaussElim::appendVariableNames ( std::stringstream &  string) [virtual]

Appends the names of the used variables to a given stringstream.

Parameters:
[in]stringThe string to which the names of the used variables are appended.
Returns:
SUCCESSFUL_RETURN

Implements ExportLinearSolver.

Definition at line 237 of file gaussian_elimination_export.cpp.

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 ExportLinearSolver.

Definition at line 79 of file gaussian_elimination_export.cpp.

returnValue ExportGaussElim::getDataDeclarations ( ExportStatementBlock declarations,
ExportStruct  dataStruct = ACADO_ANY 
) const [virtual]

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

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

Implements ExportLinearSolver.

Definition at line 53 of file gaussian_elimination_export.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 ExportLinearSolver.

Definition at line 66 of file gaussian_elimination_export.cpp.

Returns the dimension of the auxiliary variables for the linear solver.

Returns:
The dimension of the auxiliary variables for the linear solver.

Reimplemented from ExportLinearSolver.

Definition at line 283 of file gaussian_elimination_export.cpp.

Initializes code export into given file.

Returns:
SUCCESSFUL_RETURN

Implements ExportLinearSolver.

Definition at line 249 of file gaussian_elimination_export.cpp.


Member Data Documentation

Variable containing the reordered right-hand side.

Definition at line 138 of file gaussian_elimination_export.hpp.

Variable containing the order of the rows.

Definition at line 139 of file gaussian_elimination_export.hpp.

Variable that is used to swap rows for pivoting.

Definition at line 137 of file gaussian_elimination_export.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