ACADO Toolkit
1.2.0beta
Toolkit for Automatic Control and Dynamic Optimization
|
Allows to export Householder QR Factorization for solving linear systems of specific dimensions. More...
#include <householder_qr_export.hpp>
Public Member Functions | |
ExportHouseholderQR (UserInteraction *_userInteraction=0, const String &_commonHeaderName="") | |
Default constructor. | |
ExportHouseholderQR (const ExportHouseholderQR &arg) | |
Copy constructor (deep copy). | |
virtual | ~ExportHouseholderQR () |
Destructor. | |
ExportHouseholderQR & | operator= (const ExportHouseholderQR &arg) |
Assignment operator (deep copy). | |
virtual returnValue | setup () |
Initializes code export into given file. | |
virtual returnValue | getDataDeclarations (ExportStatementBlock &declarations, ExportStruct dataStruct=ACADO_ANY) const |
Adds all data declarations of the auto-generated algorithm to given list of declarations. | |
virtual returnValue | getFunctionDeclarations (ExportStatementBlock &declarations) const |
Adds all function (forward) declarations of the auto-generated algorithm to given list of declarations. | |
virtual returnValue | getCode (ExportStatementBlock &code) |
Exports source code of the auto-generated algorithm into the given directory. | |
returnValue | appendVariableNames (stringstream &string) |
Appends the names of the used variables to a given stringstream. | |
virtual ExportVariable | getGlobalExportVariable (const uint factor) const |
Returns the dimension of the auxiliary variables for the linear solver. | |
returnValue | init (const uint newDim, const BooleanType &reuse=BT_TRUE, const BooleanType &unrolling=BT_FALSE) |
Initializes the different parameters of the linear solver that will be exported. | |
returnValue | init (const uint newDim, const BooleanType &reuse, const BooleanType &unrolling, const String &newId) |
Initializes the different parameters of the linear solver that will be exported. | |
returnValue | init (unsigned _nRows, unsigned _nCols, unsigned _nBacksolves, BooleanType _reuse, BooleanType _unroll, const String &_id) |
uint | getDim () const |
Returns the dimensions of the linear system. | |
BooleanType | getReuse () const |
Returns a boolean that is true when an extra algorithm will be exported for reuse. | |
returnValue | setReuse (const BooleanType &reuse) |
Sets the boolean that is true when an extra algorithm will be exported for reuse. | |
BooleanType | getUnrolling () const |
Returns a boolean that is true when the exported code for the linear solver needs to be unrolled completely. | |
returnValue | setUnrolling (const BooleanType &unrolling) |
Sets the boolean that is true when the exported code for the linear solver needs to be unrolled completely. | |
const String | getNameSolveFunction () |
Returns a string containing the name of the function which is exported to solve the linear system. | |
const String | getNameSolveReuseFunction () |
Returns a string containing the name of the function which is exported to solve the linear system with the reuse of previous results. | |
returnValue | setDimensions (uint _NX=0, uint _NU=0, uint _NP=0, uint _NI=0) |
Sets the variables dimensions (ODE). | |
returnValue | setDimensions (uint _NX, uint _NDX, uint _NXA, uint _NU, uint _NP, uint _NI) |
Sets the variables dimensions (DAE). | |
uint | getNX () const |
Returns number of differential states. | |
uint | getNXA () const |
Returns number of algebraic states. | |
uint | getNDX () const |
Returns the number of differential states derivatives. | |
uint | getNU () const |
Returns number of control inputs. | |
uint | getNP () const |
Returns number of parameters. | |
uint | getN () const |
Returns number of control intervals. | |
void | setNY (uint NY_) |
uint | getNY () const |
void | setNYN (uint NYN_) |
uint | getNYN () const |
FILE * | openFile (const String &dirName, const String &fileName) const |
Opens given file and prepares it for exporting algorithm. | |
returnValue | addOptionsList () |
Adds an additional OptionsList to internal array. | |
returnValue | set (OptionsName name, int value) |
Sets value of an existing option item of integer type to a given value. | |
returnValue | set (OptionsName name, double value) |
Sets value of an existing option item of double type to a given value. | |
returnValue | set (uint idx, OptionsName name, int value) |
Sets value of an existing option item of integer type within the option list of given index to a given value. | |
returnValue | set (uint idx, OptionsName name, double value) |
Sets value of an existing option item of double type within the option list of given index to a given value. | |
returnValue | setOptions (const Options &arg) |
Assigns a given Options object to this object. | |
returnValue | setOptions (uint idx, const Options &arg) |
Assigns the option list with given index of a given Options object to option list with given index of this object. | |
Options | getOptions (uint idx) const |
Returns an Options object containing exactly the option list with given index. | |
returnValue | getAll (LogName _name, MatrixVariablesGrid &values) const |
Gets all numerical values at all time instants of the item with given name. | |
returnValue | getFirst (LogName _name, Matrix &firstValue) const |
Gets numerical value at first time instant of the item with given name. | |
returnValue | getFirst (LogName _name, VariablesGrid &firstValue) const |
Gets numerical value at first time instant of the item with given name (converts internally used Matrix into VariablesGrid). | |
returnValue | getLast (LogName _name, Matrix &lastValue) const |
Gets numerical value at last time instant of the item with given name. | |
returnValue | getLast (LogName _name, VariablesGrid &lastValue) const |
Gets numerical value at last time instant of the item with given name (converts internally used Matrix into VariablesGrid). | |
returnValue | get (OptionsName name, int &value) const |
Returns value of an existing option item of integer type. | |
returnValue | get (OptionsName name, double &value) const |
Returns value of an existing option item of double type. | |
returnValue | get (uint idx, OptionsName name, int &value) const |
Returns value of an existing option item of integer type within the option list of given index. | |
returnValue | get (uint idx, OptionsName name, double &value) const |
Returns value of an existing option item of double type within the option list of given index. | |
returnValue | addOption (OptionsName name, int value) |
Add an option item with a given integer default value to the all option lists. | |
returnValue | addOption (OptionsName name, double value) |
Add an option item with a given double default value to the all option lists. | |
returnValue | addOption (uint idx, OptionsName name, int value) |
Add an option item with a given integer default value to option list with given index. | |
returnValue | addOption (uint idx, OptionsName name, double value) |
Add an option item with a given double default value to option list with given index. | |
BooleanType | haveOptionsChanged () const |
Determines whether options of at least one option list have been modified. | |
BooleanType | haveOptionsChanged (uint idx) const |
Determines whether options of option list with given index have been modified. | |
returnValue | setAll (LogName _name, const MatrixVariablesGrid &values) |
Sets all numerical values at all time instants of all items with given name within all records. | |
returnValue | setLast (LogName _name, int lastValue, double time=-INFTY) |
Sets numerical value at last time instant of all items with given name within all records. | |
returnValue | setLast (LogName _name, double lastValue, double time=-INFTY) |
Sets numerical value at last time instant of all items with given name within all records. | |
returnValue | setLast (LogName _name, const Vector &lastValue, double time=-INFTY) |
Sets numerical value at last time instant of all items with given name within all records. | |
returnValue | setLast (LogName _name, const Matrix &lastValue, double time=-INFTY) |
Sets numerical value at last time instant of all items with given name within all records. | |
returnValue | setLast (LogName _name, const VariablesGrid &lastValue, double time=-INFTY) |
Sets numerical value at last time instant of all items with given name within all records. | |
int | addLogRecord (LogRecord &_record) |
Adds a record to the log collection. | |
returnValue | printLogRecord (int idx, LogPrintMode _mode=PRINT_ITEM_BY_ITEM) const |
Prints whole record with specified index into internally specified file; all items are printed according to the output format settings. | |
returnValue | plot (PlotFrequency _frequency=PLOT_IN_ANY_CASE) |
Plots all windows of the plot collection, each one into a new figure. | |
returnValue | replot (PlotFrequency _frequency=PLOT_IN_ANY_CASE) |
Plots all windows of the plot collection, each one into the corresponding existing figure, if possible. | |
Protected Member Functions | |
returnValue | copy (const ExportAlgorithm &arg) |
Copies all class members from given object. | |
Protected Attributes | |
ExportVariable | rk_temp |
Variable that is used to store intermediate results that can be reused. | |
String | identifier |
This identifier allows the use of more than one exported linear solver. | |
BooleanType | UNROLLING |
The boolean that defines the unrolling. | |
BooleanType | REUSE |
The boolean that defines the reuse. | |
uint | dim |
The dimensions of the linear system. | |
unsigned | nRows |
Number of rows of matrix A. | |
unsigned | nCols |
Number of columns of matrix A. | |
unsigned | nBacksolves |
Number of back-solves. | |
ExportVariable | A |
Variable containing the matrix of the linear system. | |
ExportVariable | b |
Variable containing the right-hand side of the linear system and it will also contain the solution. | |
ExportFunction | solve |
Function that solves the linear system. | |
ExportFunction | solveTriangular |
Function that solves the upper-triangular system. | |
ExportFunction | solveReuse |
Function that solves a linear system with the same matrix, reusing previous results. | |
ExportVariable | determinant |
Variable containing the matrix determinant. | |
uint | NX |
Number of differential states. | |
uint | NDX |
Number of differential states derivatives. | |
uint | NXA |
Number of algebraic states. | |
uint | NU |
Number of control inputs. | |
uint | NP |
Number of parameters. | |
uint | N |
Number of control intervals. | |
uint | NY |
Number of measurements, k = 0,..., N - 1. | |
uint | NYN |
Number of measurements, k = N. | |
String | commonHeaderName |
Name of common header file. | |
UserInteraction * | userInteraction |
Pointer to top-level user interface. | |
BooleanType | useModuleStandalone |
Flag indicating whether algorithmic module is used stand-alone. | |
int | outputLoggingIdx |
Index of log record for algorithmic standard output to be optionally used within derived classes. |
The class ExportHouseholderQR allows to export Householder QR Factorization for solving linear systems of specific dimensions.
BEGIN_NAMESPACE_ACADO ExportHouseholderQR::ExportHouseholderQR | ( | UserInteraction * | _userInteraction = 0 , |
const String & | _commonHeaderName = "" |
||
) |
[in] | _userInteraction | Pointer to corresponding user interface. |
[in] | _commonHeaderName | Name of common header file to be included. |
ExportHouseholderQR::ExportHouseholderQR | ( | const ExportHouseholderQR & | arg | ) |
[in] | arg | Right-hand side object. |
ExportHouseholderQR::~ExportHouseholderQR | ( | ) | [virtual] |
int AlgorithmicBase::addLogRecord | ( | LogRecord & | _record | ) | [inline, inherited] |
[in] | record | Record to be added. |
References Logging::addLogRecord(), and AlgorithmicBase::userInteraction.
Referenced by SCPmethod::setupLogging(), DenseQPsolver::setupLogging(), DynamicDiscretization::setupLogging(), and Integrator::setupLogging().
returnValue AlgorithmicBase::addOption | ( | OptionsName | name, |
int | value | ||
) | [inline, inherited] |
[in] | name | Name of new option item. |
[in] | value | Default value of new option. |
References Options::addOption(), and AlgorithmicBase::userInteraction.
Referenced by BandedCPsolver::setupOptions(), NLPsolver::setupOptions(), DynamicDiscretization::setupOptions(), and Integrator::setupOptions().
returnValue AlgorithmicBase::addOption | ( | OptionsName | name, |
double | value | ||
) | [inline, inherited] |
[in] | name | Name of new option item. |
[in] | value | Default value of new option. |
References Options::addOption(), and AlgorithmicBase::userInteraction.
returnValue AlgorithmicBase::addOption | ( | uint | idx, |
OptionsName | name, | ||
int | value | ||
) | [inline, inherited] |
[in] | idx | Index of option list. |
[in] | name | Name of new option item. |
[in] | value | Default value of new option. |
References Options::addOption(), and AlgorithmicBase::userInteraction.
returnValue AlgorithmicBase::addOption | ( | uint | idx, |
OptionsName | name, | ||
double | value | ||
) | [inline, inherited] |
[in] | idx | Index of option list. |
[in] | name | Name of new option item. |
[in] | value | Default value of new option. |
References Options::addOption(), and AlgorithmicBase::userInteraction.
returnValue AlgorithmicBase::addOptionsList | ( | ) | [inherited] |
References Options::addOptionsList(), and AlgorithmicBase::userInteraction.
Referenced by ShootingMethod::addStage().
returnValue ExportHouseholderQR::appendVariableNames | ( | stringstream & | string | ) | [virtual] |
[in] | string | The string to which the names of the used variables are appended. |
Implements ExportLinearSolver.
References SUCCESSFUL_RETURN.
returnValue ExportAlgorithm::copy | ( | const ExportAlgorithm & | arg | ) | [protected, inherited] |
[in] | arg | Right-hand side object. |
References ExportAlgorithm::commonHeaderName, ExportAlgorithm::N, ExportAlgorithm::NP, ExportAlgorithm::NU, ExportAlgorithm::NX, ExportAlgorithm::NXA, ExportAlgorithm::NY, and SUCCESSFUL_RETURN.
Referenced by ExportAlgorithm::ExportAlgorithm(), and ExportAlgorithm::operator=().
returnValue AlgorithmicBase::get | ( | OptionsName | name, |
int & | value | ||
) | const [inline, inherited] |
[in] | name | Name of option item. |
[out] | value | Value of option. |
References Options::get(), and AlgorithmicBase::userInteraction.
returnValue AlgorithmicBase::get | ( | OptionsName | name, |
double & | value | ||
) | const [inline, inherited] |
[in] | name | Name of option item. |
[out] | value | Value of option. |
References Options::get(), and AlgorithmicBase::userInteraction.
returnValue AlgorithmicBase::get | ( | uint | idx, |
OptionsName | name, | ||
int & | value | ||
) | const [inline, inherited] |
[in] | idx | Index of option list. |
[in] | name | Name of option item. |
[out] | value | Value of option. |
References Options::get(), and AlgorithmicBase::userInteraction.
returnValue AlgorithmicBase::get | ( | uint | idx, |
OptionsName | name, | ||
double & | value | ||
) | const [inline, inherited] |
[in] | idx | Index of option list. |
[in] | name | Name of option item. |
[out] | value | Value of option. |
References Options::get(), and AlgorithmicBase::userInteraction.
BEGIN_NAMESPACE_ACADO returnValue AlgorithmicBase::getAll | ( | LogName | _name, |
MatrixVariablesGrid & | values | ||
) | const [inline, inherited] |
If this item exists in more than one record, the first one is choosen as they are expected to have identical values anyhow.
[in] | _name | Internal name of item. |
[out] | values | All numerical values at all time instants of given item. |
References Logging::getAll(), and AlgorithmicBase::userInteraction.
returnValue ExportHouseholderQR::getCode | ( | ExportStatementBlock & | code | ) | [virtual] |
[in] | code | Code block containing the auto-generated algorithm. |
Implements ExportLinearSolver.
References ExportLinearSolver::A, ExportStatementBlock::addFunction(), ExportStatementBlock::addFunctionCall(), ExportFunction::addIndex(), ExportStatementBlock::addLinebreak(), ExportStatementBlock::addStatement(), ExportLinearSolver::b, ExportLinearSolver::determinant, ExportVariable::getCol(), ExportVariable::getCols(), ExportVariable::getElement(), ExportData::getFullName(), ExportVariable::getRow(), ExportVariable::getRows(), ExportVariable::getSubMatrix(), ExportVariable::getTranspose(), ExportLinearSolver::nBacksolves, ExportLinearSolver::nCols, ExportLinearSolver::nRows, ExportLinearSolver::REUSE, rk_temp, ExportLinearSolver::solve, ExportLinearSolver::solveReuse, ExportLinearSolver::solveTriangular, SUCCESSFUL_RETURN, and ExportLinearSolver::UNROLLING.
Referenced by ExportGaussNewtonCondensed::getCode().
returnValue ExportHouseholderQR::getDataDeclarations | ( | ExportStatementBlock & | declarations, |
ExportStruct | dataStruct = ACADO_ANY |
||
) | const [virtual] |
[in] | declarations | List of declarations. |
Implements ExportLinearSolver.
References SUCCESSFUL_RETURN.
uint ExportLinearSolver::getDim | ( | ) | const [inherited] |
References ExportLinearSolver::dim.
returnValue AlgorithmicBase::getFirst | ( | LogName | _name, |
Matrix & | firstValue | ||
) | const [inline, inherited] |
If this item exists in more than one record, the first one is choosen as they are expected to have identical values anyhow.
[in] | _name | Internal name of item. |
[out] | firstValue | Numerical value at first time instant of given item. |
References Logging::getFirst(), and AlgorithmicBase::userInteraction.
returnValue AlgorithmicBase::getFirst | ( | LogName | _name, |
VariablesGrid & | firstValue | ||
) | const [inline, inherited] |
If this item exists in more than one record, the first one is choosen as they are expected to have identical values anyhow.
[in] | _name | Internal name of item. |
[out] | firstValue | Numerical value at first time instant of given item. |
References Logging::getFirst(), and AlgorithmicBase::userInteraction.
returnValue ExportHouseholderQR::getFunctionDeclarations | ( | ExportStatementBlock & | declarations | ) | const [virtual] |
[in] | declarations | List of declarations. |
Implements ExportLinearSolver.
References ExportStatementBlock::addDeclaration(), ExportLinearSolver::REUSE, ExportLinearSolver::solve, ExportLinearSolver::solveReuse, ExportLinearSolver::solveTriangular, and SUCCESSFUL_RETURN.
ExportVariable ExportHouseholderQR::getGlobalExportVariable | ( | const uint | factor | ) | const [virtual] |
Implements ExportLinearSolver.
References ACADO_LOCAL, ACADO_WORKSPACE, CG_USE_OPENMP, ExportLinearSolver::identifier, ExportLinearSolver::nRows, and REAL.
Referenced by ExportNLPSolver::setupArrivalCostCalculation().
returnValue AlgorithmicBase::getLast | ( | LogName | _name, |
Matrix & | lastValue | ||
) | const [inline, inherited] |
If this item exists in more than one record, the first one is choosen as they are expected to have identical values anyhow.
[in] | _name | Internal name of item. |
[out] | lastValue | Numerical value at last time instant of given item. |
References Logging::getLast(), and AlgorithmicBase::userInteraction.
Referenced by Process::simulate().
returnValue AlgorithmicBase::getLast | ( | LogName | _name, |
VariablesGrid & | lastValue | ||
) | const [inline, inherited] |
If this item exists in more than one record, the first one is choosen as they are expected to have identical values anyhow.
[in] | _name | Internal name of item. |
[out] | lastValue | Numerical value at last time instant of given item. |
References Logging::getLast(), and AlgorithmicBase::userInteraction.
uint ExportAlgorithm::getN | ( | ) | const [inherited] |
References ExportAlgorithm::N.
Referenced by ExportNLPSolver::setupResidualVariables(), and ExportNLPSolver::setupSimulation().
const String ExportLinearSolver::getNameSolveFunction | ( | ) | [inherited] |
References ExportLinearSolver::identifier.
Referenced by AdjointIRKExport::sensitivitiesImplicitSystem(), ForwardIRKExport::sensitivitiesImplicitSystem(), DiagonallyImplicitRKExport::sensitivitiesImplicitSystem(), ExportGaussElim::setup(), setup(), ExportNLPSolver::setupArrivalCostCalculation(), DiagonallyImplicitRKExport::solveImplicitSystem(), and ImplicitRungeKuttaExport::solveImplicitSystem().
const String ExportLinearSolver::getNameSolveReuseFunction | ( | ) | [inherited] |
References ExportLinearSolver::identifier.
Referenced by AdjointIRKExport::sensitivitiesImplicitSystem(), ForwardIRKExport::sensitivitiesImplicitSystem(), DiagonallyImplicitRKExport::sensitivitiesImplicitSystem(), ExportGaussElim::setup(), setup(), DiagonallyImplicitRKExport::solveImplicitSystem(), and ImplicitRungeKuttaExport::solveImplicitSystem().
uint ExportAlgorithm::getNDX | ( | ) | const [inherited] |
uint ExportAlgorithm::getNP | ( | ) | const [inherited] |
References ExportAlgorithm::NP.
Referenced by ExportNLPSolver::setupSimulation().
uint ExportAlgorithm::getNU | ( | ) | const [inherited] |
References ExportAlgorithm::NU.
Referenced by ExportGaussNewtonCN2::setupCondensing(), ExportGaussNewtonCondensed::setupCondensing(), ExportGaussNewtonCN2::setupConstraintsEvaluation(), ExportGaussNewtonCondensed::setupConstraintsEvaluation(), and ExportNLPSolver::setupSimulation().
uint ExportAlgorithm::getNX | ( | ) | const [inherited] |
References ExportAlgorithm::NX.
Referenced by ExportNLPSolver::setupArrivalCostCalculation(), ExportNLPSolver::setupAuxiliaryFunctions(), ExportGaussNewtonCN2::setupCondensing(), ExportGaussNewtonCondensed::setupCondensing(), ExportGaussNewtonQpDunes::setupConstraintsEvaluation(), ExportGaussNewtonCondensed::setupConstraintsEvaluation(), ExportGaussNewtonQpDunes::setupObjectiveEvaluation(), ExportGaussNewtonForces::setupObjectiveEvaluation(), ExportGaussNewtonCN2::setupObjectiveEvaluation(), ExportGaussNewtonCondensed::setupObjectiveEvaluation(), and ExportNLPSolver::setupSimulation().
uint ExportAlgorithm::getNXA | ( | ) | const [inherited] |
References ExportAlgorithm::NXA.
Referenced by ExportNLPSolver::setupSimulation().
uint ExportAlgorithm::getNY | ( | ) | const [inherited] |
References ExportAlgorithm::NY.
Referenced by ExportNLPSolver::setupAuxiliaryFunctions(), ExportGaussNewtonQpDunes::setupObjectiveEvaluation(), ExportGaussNewtonCN2::setupObjectiveEvaluation(), ExportGaussNewtonForces::setupObjectiveEvaluation(), ExportGaussNewtonCondensed::setupObjectiveEvaluation(), and ExportNLPSolver::setupResidualVariables().
uint ExportAlgorithm::getNYN | ( | ) | const [inherited] |
References ExportAlgorithm::NYN.
Referenced by ExportNLPSolver::setObjective(), ExportNLPSolver::setupAuxiliaryFunctions(), ExportGaussNewtonQpDunes::setupObjectiveEvaluation(), ExportGaussNewtonCN2::setupObjectiveEvaluation(), ExportGaussNewtonForces::setupObjectiveEvaluation(), ExportGaussNewtonCondensed::setupObjectiveEvaluation(), and ExportNLPSolver::setupResidualVariables().
Options AlgorithmicBase::getOptions | ( | uint | idx | ) | const [inherited] |
[in] | idx | Index of option list. |
References Options::getOptions(), and AlgorithmicBase::userInteraction.
Referenced by ShootingMethod::evaluate().
BooleanType ExportLinearSolver::getReuse | ( | ) | const [inherited] |
References ExportLinearSolver::REUSE.
BooleanType ExportLinearSolver::getUnrolling | ( | ) | const [inherited] |
References ExportLinearSolver::UNROLLING.
BooleanType AlgorithmicBase::haveOptionsChanged | ( | ) | const [inline, inherited] |
References Options::haveOptionsChanged(), and AlgorithmicBase::userInteraction.
BooleanType AlgorithmicBase::haveOptionsChanged | ( | uint | idx | ) | const [inline, inherited] |
[in] | idx | Index of option list. |
References Options::haveOptionsChanged(), and AlgorithmicBase::userInteraction.
returnValue ExportLinearSolver::init | ( | const uint | newDim, |
const BooleanType & | reuse = BT_TRUE , |
||
const BooleanType & | unrolling = BT_FALSE |
||
) | [inherited] |
[in] | newDim | The dimensions of the linear system. |
[in] | reuse | A boolean that is true when more than one system of linear equations with the same matrix needs to be solved. This means that an algorithm will be exported expecially for this case, with extra optimizations by reusing as many intermediate results as possible. |
[in] | unrolling | A boolean that is true when the exported code for the linear solver needs to be unrolled completely. |
Referenced by ExportLinearSolver::ExportLinearSolver(), ExportLinearSolver::init(), ExportLinearSolver::operator=(), ImplicitRungeKuttaExport::setup(), DiagonallyImplicitRKExport::setup(), and ExportNLPSolver::setupArrivalCostCalculation().
returnValue ExportLinearSolver::init | ( | const uint | newDim, |
const BooleanType & | reuse, | ||
const BooleanType & | unrolling, | ||
const String & | newId | ||
) | [inherited] |
[in] | newDim | The dimensions of the linear system. |
[in] | reuse | A boolean that is true when more than one system of linear equations with the same matrix needs to be solved. This means that an algorithm will be exported expecially for this case, with extra optimizations by reusing as many intermediate results as possible. |
[in] | unrolling | A boolean that is true when the exported code for the linear solver needs to be unrolled completely. |
[in] | newId | The new identifier for this linear solver to be exported. |
References ExportLinearSolver::init().
returnValue ExportLinearSolver::init | ( | unsigned | _nRows, |
unsigned | _nCols, | ||
unsigned | _nBacksolves, | ||
BooleanType | _reuse, | ||
BooleanType | _unroll, | ||
const String & | _id | ||
) | [inherited] |
FILE * ExportAlgorithm::openFile | ( | const String & | dirName, |
const String & | fileName | ||
) | const [inherited] |
[in] | dirName | Name of directory in which to open the file. |
[in] | fileName | Name of file to be opened. |
[in] | includeCommonHeader | Flag indicating whether common header shall be included. |
References acadoFOpen(), acadoFPrintf(), acadoPrintAutoGenerationNotice(), BT_FALSE, ExportAlgorithm::commonHeaderName, String::getName(), and String::isEmpty().
ExportHouseholderQR & ExportHouseholderQR::operator= | ( | const ExportHouseholderQR & | arg | ) |
[in] | arg | Right-hand side object. |
returnValue AlgorithmicBase::plot | ( | PlotFrequency | _frequency = PLOT_IN_ANY_CASE | ) | [inline, inherited] |
[in] | _frequency | Frequency determining at which time instants the window is to be plotted. |
References Plotting::plot(), and AlgorithmicBase::userInteraction.
returnValue AlgorithmicBase::printLogRecord | ( | int | idx, |
LogPrintMode | _mode = PRINT_ITEM_BY_ITEM |
||
) | const [inline, inherited] |
[in] | idx | Index of record to be printed. |
[in] | _mode | Print mode: see documentation of LogPrintMode of details. |
References ACADOERROR, LogCollection::getNumLogRecords(), Logging::logCollection, LogCollection::print(), RET_INDEX_OUT_OF_BOUNDS, and AlgorithmicBase::userInteraction.
Referenced by SCPmethod::printIteration(), SCPmethod::printRuntimeProfile(), and Integrator::printRunTimeProfile().
returnValue AlgorithmicBase::replot | ( | PlotFrequency | _frequency = PLOT_IN_ANY_CASE | ) | [inline, inherited] |
[in] | _frequency | Frequency determining at which time instants the window is to be plotted. |
References Plotting::replot(), and AlgorithmicBase::userInteraction.
Referenced by SCPmethod::printIteration(), SCPmethod::solve(), and SCPmethod::step().
returnValue AlgorithmicBase::set | ( | OptionsName | name, |
int | value | ||
) | [inherited] |
[in] | name | Name of option item. |
[in] | value | New value of option. |
References Options::set(), and AlgorithmicBase::userInteraction.
Referenced by SCPmethod::initializeHessianProjection().
returnValue AlgorithmicBase::set | ( | OptionsName | name, |
double | value | ||
) | [inherited] |
[in] | name | Name of option item. |
[in] | value | New value of option. |
References Options::set(), and AlgorithmicBase::userInteraction.
returnValue AlgorithmicBase::set | ( | uint | idx, |
OptionsName | name, | ||
int | value | ||
) | [inherited] |
[in] | idx | Index of option list. |
[in] | name | Name of option item. |
[in] | value | New value of option. |
References Options::set(), and AlgorithmicBase::userInteraction.
returnValue AlgorithmicBase::set | ( | uint | idx, |
OptionsName | name, | ||
double | value | ||
) | [inherited] |
[in] | idx | Index of option list. |
[in] | name | Name of option item. |
[in] | value | New value of option. |
References Options::set(), and AlgorithmicBase::userInteraction.
returnValue AlgorithmicBase::setAll | ( | LogName | _name, |
const MatrixVariablesGrid & | values | ||
) | [inline, inherited] |
[in] | _name | Internal name of item. |
[in] | values | All numerical values at all time instants of given item. |
References Logging::logCollection, LogCollection::setAll(), and AlgorithmicBase::userInteraction.
returnValue ExportAlgorithm::setDimensions | ( | uint | _NX = 0 , |
uint | _NU = 0 , |
||
uint | _NP = 0 , |
||
uint | _NI = 0 |
||
) | [inherited] |
[in] | _NX | New number of differential states. |
[in] | _NU | New number of control inputs. |
[in] | _NP | New number of parameters. |
[in] | _NI | New number of control intervals. (using _N resulted in a strange error when compiling with cygwin!) |
Referenced by ExportAlgorithm::ExportAlgorithm(), and IntegratorExport::setModelData().
returnValue ExportAlgorithm::setDimensions | ( | uint | _NX, |
uint | _NDX, | ||
uint | _NXA, | ||
uint | _NU, | ||
uint | _NP, | ||
uint | _NI | ||
) | [inherited] |
[in] | _NX | New number of differential states. |
[in] | _NDX | New number of differential states derivatives. |
[in] | _NXA | New number of algebraic states. |
[in] | _NU | New number of control inputs. |
[in] | _NP | New number of parameters. |
[in] | _NI | New number of control intervals. (using _N resulted in a strange error when compiling with cygwin!) |
References ExportAlgorithm::N, ExportAlgorithm::NDX, ExportAlgorithm::NP, ExportAlgorithm::NU, ExportAlgorithm::NX, ExportAlgorithm::NXA, and SUCCESSFUL_RETURN.
returnValue AlgorithmicBase::setLast | ( | LogName | _name, |
int | lastValue, | ||
double | time = -INFTY |
||
) | [inline, inherited] |
[in] | _name | Internal name of item. |
[in] | lastValue | Numerical value at last time instant of given item. |
[in] | time | Time label of the instant. |
References Logging::logCollection, LogCollection::setLast(), and AlgorithmicBase::userInteraction.
Referenced by IntegratorBDF::evaluate(), IntegratorRK::evaluate(), IntegratorLYAPUNOV::evaluate(), CondensingBasedCPsolver::finalizeSolve(), IntegratorBDF::logCurrentIntegratorStep(), ShootingMethod::logTrajectory(), SCPmethod::performCurrentStep(), SCPstepLinesearch::performLineSearch(), SCPstepFullstep::performStep(), SCPstepLinesearch::performStep(), SCPmethod::prepareNextStep(), CondensingBasedCPsolver::prepareSolve(), SCPmethod::printIteration(), QPsolver_qpOASES::solve(), CondensingBasedCPsolver::solveCPsubproblem(), and SCPmethod::stopClockAndPrintRuntimeProfile().
returnValue AlgorithmicBase::setLast | ( | LogName | _name, |
double | lastValue, | ||
double | time = -INFTY |
||
) | [inline, inherited] |
[in] | _name | Internal name of item. |
[in] | lastValue | Numerical value at last time instant of given item. |
[in] | time | Time label of the instant. |
References Logging::logCollection, LogCollection::setLast(), and AlgorithmicBase::userInteraction.
returnValue AlgorithmicBase::setLast | ( | LogName | _name, |
const Vector & | lastValue, | ||
double | time = -INFTY |
||
) | [inline, inherited] |
[in] | _name | Internal name of item. |
[in] | lastValue | Numerical value at last time instant of given item. |
[in] | time | Time label of the instant. |
References Logging::logCollection, LogCollection::setLast(), and AlgorithmicBase::userInteraction.
returnValue AlgorithmicBase::setLast | ( | LogName | _name, |
const Matrix & | lastValue, | ||
double | time = -INFTY |
||
) | [inline, inherited] |
[in] | _name | Internal name of item. |
[in] | lastValue | Numerical value at last time instant of given item. |
[in] | time | Time label of the instant. |
References Logging::logCollection, LogCollection::setLast(), and AlgorithmicBase::userInteraction.
returnValue AlgorithmicBase::setLast | ( | LogName | _name, |
const VariablesGrid & | lastValue, | ||
double | time = -INFTY |
||
) | [inline, inherited] |
[in] | _name | Internal name of item. |
[in] | lastValue | Numerical value at last time instant of given item. |
[in] | time | Time label of the instant. |
References Logging::logCollection, LogCollection::setLast(), and AlgorithmicBase::userInteraction.
void ExportAlgorithm::setNY | ( | uint | NY_ | ) | [inherited] |
References ExportAlgorithm::NY.
Referenced by ExportNLPSolver::setObjective().
void ExportAlgorithm::setNYN | ( | uint | NYN_ | ) | [inherited] |
References ExportAlgorithm::NYN.
Referenced by ExportNLPSolver::setObjective().
returnValue AlgorithmicBase::setOptions | ( | const Options & | arg | ) | [inherited] |
[in] | arg | New Options object to be assigned. |
References Options::setOptions(), and AlgorithmicBase::userInteraction.
Referenced by ShootingMethod::evaluate().
returnValue AlgorithmicBase::setOptions | ( | uint | idx, |
const Options & | arg | ||
) | [inherited] |
[in] | idx | Index of option list. |
[in] | arg | Options object containing the option list to be assigned. |
References Options::setOptions(), and AlgorithmicBase::userInteraction.
returnValue ExportLinearSolver::setReuse | ( | const BooleanType & | reuse | ) | [inherited] |
[in] | reuse | The new value of this boolean. |
References ExportLinearSolver::REUSE, and SUCCESSFUL_RETURN.
Referenced by ImplicitRungeKuttaExport::setup().
returnValue ExportLinearSolver::setUnrolling | ( | const BooleanType & | unrolling | ) | [inherited] |
[in] | unrolling | The new value of this boolean. |
References SUCCESSFUL_RETURN, and ExportLinearSolver::UNROLLING.
returnValue ExportHouseholderQR::setup | ( | ) | [virtual] |
Implements ExportLinearSolver.
References ExportLinearSolver::A, ExportStatementBlock::addLinebreak(), ExportLinearSolver::b, BT_FALSE, CG_USE_OPENMP, ExportLinearSolver::determinant, Options::get(), ExportLinearSolver::getNameSolveFunction(), ExportLinearSolver::getNameSolveReuseFunction(), ExportLinearSolver::identifier, ExportLinearSolver::nCols, ExportLinearSolver::nRows, REAL, ExportLinearSolver::REUSE, rk_temp, ExportFunction::setReturnValue(), ExportLinearSolver::solve, ExportLinearSolver::solveReuse, ExportLinearSolver::solveTriangular, SUCCESSFUL_RETURN, UNROLL_LINEAR_SOLVER, ExportLinearSolver::UNROLLING, and AlgorithmicBase::userInteraction.
ExportVariable ExportLinearSolver::A [protected, inherited] |
Referenced by ExportGaussElim::getCode(), getCode(), setup(), and ExportGaussElim::setup().
ExportVariable ExportLinearSolver::b [protected, inherited] |
Referenced by ExportGaussElim::getCode(), getCode(), setup(), and ExportGaussElim::setup().
String ExportAlgorithm::commonHeaderName [protected, inherited] |
Referenced by ExportAlgorithm::copy(), ExportAlgorithm::ExportAlgorithm(), ExportAlgorithm::openFile(), ImplicitRungeKuttaExport::setup(), ExportGaussNewtonQpDunes::setupQPInterface(), ExportGaussNewtonCN2::setupQPInterface(), ExportGaussNewtonForces::setupQPInterface(), and ExportGaussNewtonCondensed::setupQPInterface().
ExportVariable ExportLinearSolver::determinant [protected, inherited] |
Referenced by ExportLinearSolver::ExportLinearSolver(), ExportGaussElim::getCode(), getCode(), setup(), and ExportGaussElim::setup().
uint ExportLinearSolver::dim [protected, inherited] |
String ExportLinearSolver::identifier [protected, inherited] |
Referenced by ExportLinearSolver::ExportLinearSolver(), ExportGaussElim::getGlobalExportVariable(), getGlobalExportVariable(), ExportLinearSolver::getNameSolveFunction(), ExportLinearSolver::getNameSolveReuseFunction(), ExportLinearSolver::init(), ExportLinearSolver::operator=(), setup(), and ExportGaussElim::setup().
uint ExportAlgorithm::N [protected, inherited] |
Referenced by ExportAlgorithm::copy(), Constraint::getBlockDim(), ExportAlgorithm::getN(), Constraint::getNumberOfBlocks(), ExportNLPSolver::getNumComplexConstraints(), ExportGaussNewtonCN2::getNumQPvars(), ExportGaussNewtonQpDunes::getNumQPvars(), ExportGaussNewtonCondensed::getNumQPvars(), ExportGaussNewtonForces::getNumQPvars(), ExportNLPSolver::setConstraints(), ExportAlgorithm::setDimensions(), ExportNLPSolver::setObjective(), ExportNLPSolver::setupAuxiliaryFunctions(), ExportGaussNewtonCN2::setupCondensing(), ExportGaussNewtonCondensed::setupCondensing(), ExportGaussNewtonQpDunes::setupConstraintsEvaluation(), ExportGaussNewtonCN2::setupConstraintsEvaluation(), ExportGaussNewtonForces::setupConstraintsEvaluation(), ExportGaussNewtonCondensed::setupConstraintsEvaluation(), ExportGaussNewtonQpDunes::setupEvaluation(), ExportGaussNewtonForces::setupEvaluation(), ExportGaussNewtonQpDunes::setupObjectiveEvaluation(), ExportGaussNewtonCN2::setupObjectiveEvaluation(), ExportGaussNewtonForces::setupObjectiveEvaluation(), ExportGaussNewtonCondensed::setupObjectiveEvaluation(), ExportGaussNewtonForces::setupQPInterface(), ExportNLPSolver::setupResidualVariables(), ExportNLPSolver::setupSimulation(), ExportGaussNewtonCN2::setupVariables(), and ExportGaussNewtonCondensed::setupVariables().
unsigned ExportLinearSolver::nBacksolves [protected, inherited] |
unsigned ExportLinearSolver::nCols [protected, inherited] |
uint ExportAlgorithm::NDX [protected, inherited] |
Referenced by ImplicitRungeKuttaExport::evaluateStatesImplicitSystem(), ImplicitRungeKuttaExport::generateOutput(), ImplicitRungeKuttaExport::prepareOutputEvaluation(), AdjointIRKExport::sensitivitiesOutputs(), ForwardIRKExport::sensitivitiesOutputs(), ExplicitRungeKuttaExport::setDifferentialEquation(), DiscreteTimeExport::setDifferentialEquation(), ImplicitRungeKuttaExport::setDifferentialEquation(), ExportAlgorithm::setDimensions(), IntegratorExport::setLinearOutput(), ImplicitRungeKuttaExport::setModel(), IntegratorExport::setModel(), ImplicitRungeKuttaExport::setup(), and ImplicitRungeKuttaExport::setupOutput().
uint ExportAlgorithm::NP [protected, inherited] |
Referenced by ExportAlgorithm::copy(), ExportAlgorithm::getNP(), ExportNLPSolver::setConstraints(), ExplicitRungeKuttaExport::setDifferentialEquation(), DiscreteTimeExport::setDifferentialEquation(), ImplicitRungeKuttaExport::setDifferentialEquation(), ExportAlgorithm::setDimensions(), IntegratorExport::setLinearInput(), IntegratorExport::setLinearOutput(), NARXExport::setLinearOutput(), IntegratorExport::setModel(), ExportNLPSolver::setObjective(), ExplicitRungeKuttaExport::setup(), NARXExport::setup(), DiscreteTimeExport::setup(), AdjointIRKExport::setup(), ImplicitRungeKuttaExport::setup(), ForwardIRKExport::setup(), ExportNLPSolver::setupArrivalCostCalculation(), ExportNLPSolver::setupAuxiliaryFunctions(), ExportGaussNewtonQpDunes::setupConstraintsEvaluation(), ExportGaussNewtonCondensed::setupConstraintsEvaluation(), ExportGaussNewtonQpDunes::setupObjectiveEvaluation(), ExportGaussNewtonCN2::setupObjectiveEvaluation(), ExportGaussNewtonForces::setupObjectiveEvaluation(), ExportGaussNewtonCondensed::setupObjectiveEvaluation(), and ExportNLPSolver::setupSimulation().
unsigned ExportLinearSolver::nRows [protected, inherited] |
uint ExportAlgorithm::NU [protected, inherited] |
Referenced by ExportAlgorithm::copy(), ImplicitRungeKuttaExport::generateOutput(), AdjointIRKExport::getCode(), ForwardIRKExport::getCode(), ExportAlgorithm::getNU(), ExportGaussNewtonCN2::getNumQPvars(), ExportGaussNewtonQpDunes::getNumQPvars(), ExportGaussNewtonCondensed::getNumQPvars(), ExportGaussNewtonForces::getNumQPvars(), NARXExport::prepareFullRhs(), IntegratorExport::prepareFullRhs(), ImplicitRungeKuttaExport::prepareFullRhs(), DiagonallyImplicitRKExport::prepareInputSystem(), AdjointIRKExport::prepareInputSystem(), ForwardIRKExport::prepareInputSystem(), NARXExport::propagateImplicitSystem(), IntegratorExport::propagateImplicitSystem(), NARXExport::propagateInputSystem(), IntegratorExport::propagateInputSystem(), AdjointIRKExport::propagateOutputs(), ForwardIRKExport::propagateOutputs(), NARXExport::propagateOutputSystem(), IntegratorExport::propagateOutputSystem(), AdjointIRKExport::sensitivitiesOutputs(), ForwardIRKExport::sensitivitiesOutputs(), ExportNLPSolver::setConstraints(), ExplicitRungeKuttaExport::setDifferentialEquation(), DiscreteTimeExport::setDifferentialEquation(), ImplicitRungeKuttaExport::setDifferentialEquation(), ExportAlgorithm::setDimensions(), IntegratorExport::setLinearInput(), IntegratorExport::setLinearOutput(), NARXExport::setLinearOutput(), IntegratorExport::setModel(), NARXExport::setNARXmodel(), ExportNLPSolver::setObjective(), ExplicitRungeKuttaExport::setup(), NARXExport::setup(), DiscreteTimeExport::setup(), AdjointIRKExport::setup(), ImplicitRungeKuttaExport::setup(), ForwardIRKExport::setup(), ExportNLPSolver::setupArrivalCostCalculation(), ExportNLPSolver::setupAuxiliaryFunctions(), ExportGaussNewtonCN2::setupCondensing(), ExportGaussNewtonCondensed::setupCondensing(), ExportGaussNewtonQpDunes::setupConstraintsEvaluation(), ExportGaussNewtonCN2::setupConstraintsEvaluation(), ExportGaussNewtonForces::setupConstraintsEvaluation(), ExportGaussNewtonCondensed::setupConstraintsEvaluation(), ExportGaussNewtonQpDunes::setupEvaluation(), ExportGaussNewtonForces::setupEvaluation(), ExportGaussNewtonCN2::setupMultiplicationRoutines(), ExportGaussNewtonCondensed::setupMultiplicationRoutines(), ExportGaussNewtonQpDunes::setupObjectiveEvaluation(), ExportGaussNewtonForces::setupObjectiveEvaluation(), ExportGaussNewtonCN2::setupObjectiveEvaluation(), ExportGaussNewtonCondensed::setupObjectiveEvaluation(), ImplicitRungeKuttaExport::setupOutput(), ExportGaussNewtonForces::setupQPInterface(), ExportNLPSolver::setupSimulation(), ExportGaussNewtonCN2::setupVariables(), ExportGaussNewtonCondensed::setupVariables(), NARXExport::updateImplicitSystem(), IntegratorExport::updateImplicitSystem(), NARXExport::updateInputSystem(), IntegratorExport::updateInputSystem(), NARXExport::updateOutputSystem(), and IntegratorExport::updateOutputSystem().
uint ExportAlgorithm::NX [protected, inherited] |
Referenced by ExportAlgorithm::copy(), DiagonallyImplicitRKExport::evaluateStatesImplicitSystem(), ImplicitRungeKuttaExport::evaluateStatesImplicitSystem(), ImplicitRungeKuttaExport::evaluateStatesOutputSystem(), IntegratorExport::expandOutputMatrix(), ImplicitRungeKuttaExport::generateOutput(), ForwardIRKExport::getCode(), AdjointIRKExport::getCode(), DiscreteTimeExport::getCode(), ImplicitRungeKuttaExport::getCode(), DiscreteTimeExport::getFunctionDeclarations(), ImplicitRungeKuttaExport::getFunctionDeclarations(), IntegratorExport::getNameFullRHS(), ExportGaussNewtonCN2::getNumQPvars(), ExportGaussNewtonQpDunes::getNumQPvars(), ExportGaussNewtonCondensed::getNumQPvars(), ExportGaussNewtonForces::getNumQPvars(), ExportAlgorithm::getNX(), NARXExport::prepareFullRhs(), IntegratorExport::prepareFullRhs(), ImplicitRungeKuttaExport::prepareFullRhs(), NARXExport::propagateImplicitSystem(), IntegratorExport::propagateImplicitSystem(), NARXExport::propagateInputSystem(), IntegratorExport::propagateInputSystem(), ForwardIRKExport::propagateOutputs(), AdjointIRKExport::propagateOutputs(), NARXExport::propagateOutputSystem(), IntegratorExport::propagateOutputSystem(), ForwardIRKExport::sensitivitiesImplicitSystem(), AdjointIRKExport::sensitivitiesImplicitSystem(), DiagonallyImplicitRKExport::sensitivitiesImplicitSystem(), ForwardIRKExport::sensitivitiesOutputs(), AdjointIRKExport::sensitivitiesOutputs(), DiagonallyImplicitRKExport::sensitivitiesOutputSystem(), ForwardIRKExport::sensitivitiesOutputSystem(), AdjointIRKExport::sensitivitiesOutputSystem(), ExportNLPSolver::setConstraints(), ExplicitRungeKuttaExport::setDifferentialEquation(), DiscreteTimeExport::setDifferentialEquation(), ImplicitRungeKuttaExport::setDifferentialEquation(), ExportAlgorithm::setDimensions(), IntegratorExport::setLinearInput(), IntegratorExport::setLinearOutput(), NARXExport::setLinearOutput(), IntegratorExport::setModel(), NARXExport::setNARXmodel(), ExportNLPSolver::setObjective(), NARXExport::setup(), ExplicitRungeKuttaExport::setup(), DiscreteTimeExport::setup(), ImplicitRungeKuttaExport::setup(), AdjointIRKExport::setup(), ForwardIRKExport::setup(), ExportNLPSolver::setupArrivalCostCalculation(), ExportNLPSolver::setupAuxiliaryFunctions(), ExportGaussNewtonCN2::setupCondensing(), ExportGaussNewtonCondensed::setupCondensing(), ExportGaussNewtonQpDunes::setupConstraintsEvaluation(), ExportGaussNewtonCN2::setupConstraintsEvaluation(), ExportGaussNewtonForces::setupConstraintsEvaluation(), ExportGaussNewtonCondensed::setupConstraintsEvaluation(), ExportGaussNewtonQpDunes::setupEvaluation(), ExportGaussNewtonForces::setupEvaluation(), ExportGaussNewtonCN2::setupMultiplicationRoutines(), ExportGaussNewtonCondensed::setupMultiplicationRoutines(), ExportGaussNewtonQpDunes::setupObjectiveEvaluation(), ExportGaussNewtonCN2::setupObjectiveEvaluation(), ExportGaussNewtonForces::setupObjectiveEvaluation(), ExportGaussNewtonCondensed::setupObjectiveEvaluation(), ImplicitRungeKuttaExport::setupOutput(), ExportGaussNewtonForces::setupQPInterface(), ExportNLPSolver::setupSimulation(), ExportGaussNewtonQpDunes::setupVariables(), ExportGaussNewtonForces::setupVariables(), ExportGaussNewtonCN2::setupVariables(), ExportGaussNewtonCondensed::setupVariables(), DiagonallyImplicitRKExport::solveImplicitSystem(), ImplicitRungeKuttaExport::solveImplicitSystem(), DiagonallyImplicitRKExport::solveOutputSystem(), NARXExport::updateImplicitSystem(), IntegratorExport::updateImplicitSystem(), NARXExport::updateInputSystem(), IntegratorExport::updateInputSystem(), NARXExport::updateOutputSystem(), and IntegratorExport::updateOutputSystem().
uint ExportAlgorithm::NXA [protected, inherited] |
Referenced by ExportAlgorithm::copy(), DiagonallyImplicitRKExport::evaluateMatrix(), ImplicitRungeKuttaExport::evaluateMatrix(), DiagonallyImplicitRKExport::evaluateRhsImplicitSystem(), ImplicitRungeKuttaExport::evaluateRhsImplicitSystem(), DiagonallyImplicitRKExport::evaluateStatesImplicitSystem(), ImplicitRungeKuttaExport::evaluateStatesImplicitSystem(), ImplicitRungeKuttaExport::generateOutput(), ForwardIRKExport::getAuxVariable(), AdjointIRKExport::getAuxVariable(), ImplicitRungeKuttaExport::getAuxVariable(), ForwardIRKExport::getCode(), AdjointIRKExport::getCode(), DiscreteTimeExport::getCode(), ImplicitRungeKuttaExport::getCode(), ImplicitRungeKuttaExport::getDataDeclarations(), ExportAlgorithm::getNXA(), IntegratorExport::prepareFullRhs(), ImplicitRungeKuttaExport::prepareFullRhs(), ImplicitRungeKuttaExport::prepareOutputEvaluation(), IntegratorExport::propagateImplicitSystem(), IntegratorExport::propagateInputSystem(), IntegratorExport::propagateOutputSystem(), ForwardIRKExport::sensitivitiesImplicitSystem(), AdjointIRKExport::sensitivitiesImplicitSystem(), DiagonallyImplicitRKExport::sensitivitiesImplicitSystem(), AdjointIRKExport::sensitivitiesOutputs(), ForwardIRKExport::sensitivitiesOutputs(), DiagonallyImplicitRKExport::sensitivitiesOutputSystem(), ForwardIRKExport::sensitivitiesOutputSystem(), AdjointIRKExport::sensitivitiesOutputSystem(), ExplicitRungeKuttaExport::setDifferentialEquation(), DiscreteTimeExport::setDifferentialEquation(), ImplicitRungeKuttaExport::setDifferentialEquation(), ExportAlgorithm::setDimensions(), IntegratorExport::setLinearInput(), IntegratorExport::setLinearOutput(), NARXExport::setLinearOutput(), IntegratorExport::setModel(), NARXExport::setNARXmodel(), DiscreteTimeExport::setup(), AdjointIRKExport::setup(), ForwardIRKExport::setup(), ImplicitRungeKuttaExport::setup(), DiagonallyImplicitRKExport::setup(), ExportNLPSolver::setupArrivalCostCalculation(), ExportNLPSolver::setupAuxiliaryFunctions(), ImplicitRungeKuttaExport::setupOutput(), ExportNLPSolver::setupSimulation(), DiagonallyImplicitRKExport::solveImplicitSystem(), ImplicitRungeKuttaExport::solveImplicitSystem(), IntegratorExport::updateImplicitSystem(), IntegratorExport::updateInputSystem(), and IntegratorExport::updateOutputSystem().
uint ExportAlgorithm::NY [protected, inherited] |
Referenced by ExportAlgorithm::copy(), ExportAlgorithm::getNY(), ExportAlgorithm::setNY(), ExportNLPSolver::setObjective(), ExportNLPSolver::setupArrivalCostCalculation(), ExportNLPSolver::setupAuxiliaryFunctions(), ExportGaussNewtonCN2::setupCondensing(), ExportGaussNewtonCondensed::setupCondensing(), ExportGaussNewtonCN2::setupMultiplicationRoutines(), ExportGaussNewtonCondensed::setupMultiplicationRoutines(), ExportGaussNewtonQpDunes::setupObjectiveEvaluation(), ExportGaussNewtonCN2::setupObjectiveEvaluation(), ExportGaussNewtonForces::setupObjectiveEvaluation(), and ExportGaussNewtonCondensed::setupObjectiveEvaluation().
uint ExportAlgorithm::NYN [protected, inherited] |
Referenced by ExportAlgorithm::getNYN(), ExportAlgorithm::setNYN(), ExportNLPSolver::setObjective(), ExportNLPSolver::setupAuxiliaryFunctions(), ExportGaussNewtonQpDunes::setupObjectiveEvaluation(), ExportGaussNewtonCN2::setupObjectiveEvaluation(), ExportGaussNewtonForces::setupObjectiveEvaluation(), and ExportGaussNewtonCondensed::setupObjectiveEvaluation().
int AlgorithmicBase::outputLoggingIdx [protected, inherited] |
BooleanType ExportLinearSolver::REUSE [protected, inherited] |
Referenced by ExportGaussElim::appendVariableNames(), ExportLinearSolver::ExportLinearSolver(), getCode(), ExportGaussElim::getCode(), ExportGaussElim::getDataDeclarations(), ExportGaussElim::getFunctionDeclarations(), getFunctionDeclarations(), ExportLinearSolver::getReuse(), ExportLinearSolver::init(), ExportLinearSolver::operator=(), ExportLinearSolver::setReuse(), setup(), and ExportGaussElim::setup().
ExportVariable ExportHouseholderQR::rk_temp [protected] |
ExportFunction ExportLinearSolver::solve [protected, inherited] |
ExportFunction ExportLinearSolver::solveReuse [protected, inherited] |
ExportFunction ExportLinearSolver::solveTriangular [protected, inherited] |
BooleanType ExportLinearSolver::UNROLLING [protected, inherited] |
BooleanType AlgorithmicBase::useModuleStandalone [protected, inherited] |
UserInteraction* AlgorithmicBase::userInteraction [protected, inherited] |
Referenced by AlgorithmicBase::addLogRecord(), AlgorithmicBase::addOption(), AlgorithmicBase::addOptionsList(), AlgorithmicBase::AlgorithmicBase(), AlgorithmicBase::get(), AlgorithmicBase::getAll(), ExplicitRungeKuttaExport::getCode(), AlgorithmicBase::getFirst(), ExplicitRungeKuttaExport::getFunctionDeclarations(), AlgorithmicBase::getLast(), AlgorithmicBase::getOptions(), AlgorithmicBase::haveOptionsChanged(), AlgorithmicBase::operator=(), AlgorithmicBase::plot(), AlgorithmicBase::printLogRecord(), AlgorithmicBase::replot(), AlgorithmicBase::set(), AlgorithmicBase::setAll(), ExplicitRungeKuttaExport::setDifferentialEquation(), AlgorithmicBase::setLast(), AlgorithmicBase::setOptions(), ExportGaussElim::setup(), setup(), ImplicitRungeKuttaExport::setup(), SCPmethod::setup(), ExportGaussNewtonCN2::setupQPInterface(), ExportGaussNewtonForces::setupQPInterface(), ExportGaussNewtonCondensed::setupQPInterface(), CondensingBasedCPsolver::solveQP(), and AlgorithmicBase::~AlgorithmicBase().