(not yet documented) More...
#include <acado_csparse.hpp>

Public Member Functions | |
| ACADOcsparse () | |
| ACADOcsparse (const ACADOcsparse &arg) | |
| virtual ACADOcsparse * | clone () const |
| virtual returnValue | getX (double *x_) |
| virtual returnValue | setDimension (const int &n) |
| virtual returnValue | setIndices (const int *rowIdx_, const int *colIdx_) |
| virtual returnValue | setMatrix (double *A_) |
| virtual returnValue | setNumberOfEntries (const int &nDense_) |
| virtual returnValue | setPrintLevel (PrintLevel printLevel_) |
| virtual returnValue | setTolerance (double TOL_) |
| virtual returnValue | solve (double *b) |
| virtual returnValue | solveTranspose (double *b) |
| virtual | ~ACADOcsparse () |
Public Member Functions inherited from SparseSolver | |
| virtual returnValue | factorize ()=0 |
| virtual int_t | getNegativeEigenvalues () |
| virtual int_t | getRank () |
| virtual returnValue | getZeroPivots (int_t *&zeroPivots) |
| virtual SparseSolver & | operator= (const SparseSolver &rhs) |
| virtual returnValue | reset () |
| virtual returnValue | setMatrixData (int_t dim, int_t numNonzeros, const int_t *const airn, const int_t *const acjn, const real_t *const avals)=0 |
| virtual returnValue | solve (int_t dim, const real_t *const rhs, real_t *const sol)=0 |
| SparseSolver () | |
| SparseSolver (const SparseSolver &rhs) | |
| SparseSolver () | |
| virtual | ~SparseSolver () |
| virtual | ~SparseSolver () |
Protected Attributes | |
| int | dim |
| int * | index1 |
| int * | index2 |
| cs_numeric * | N |
| int | nDense |
| PrintLevel | printLevel |
| cs_symbolic * | S |
| double | TOL |
| double * | x |
Additional Inherited Members | |
Protected Member Functions inherited from SparseSolver | |
| returnValue | clear () |
| returnValue | copy (const SparseSolver &rhs) |
| BEGIN_NAMESPACE_ACADO ACADOcsparse::ACADOcsparse | ( | ) |
Default constructor.
Definition at line 52 of file acado_csparse.cpp.
| ACADOcsparse::ACADOcsparse | ( | const ACADOcsparse & | arg | ) |
Copy constructor (deep copy).
Definition at line 65 of file acado_csparse.cpp.
|
virtual |
Destructor.
Definition at line 90 of file acado_csparse.cpp.
|
virtual |
Clone operator (deep copy).
Implements SparseSolver.
Definition at line 116 of file acado_csparse.cpp.
|
virtual |
Returns the solution of the equation A*x = b if solved.
Implements SparseSolver.
Definition at line 230 of file acado_csparse.cpp.
|
virtual |
Defines the dimension n of A R^{n n}
Implements SparseSolver.
Definition at line 164 of file acado_csparse.cpp.
|
virtual |
Sets an index list containing the positions of the
non-zero elements in the matrix A.
Implements SparseSolver.
Definition at line 184 of file acado_csparse.cpp.
|
virtual |
Sets the non-zero elements of the matrix A. The double* A
is assumed to contain nDense entries corresponding to
non-zero elements of A.
Implements SparseSolver.
Definition at line 204 of file acado_csparse.cpp.
|
virtual |
Defines the number of non-zero elements in the
matrix A
Implements SparseSolver.
Definition at line 178 of file acado_csparse.cpp.
|
virtual |
Sets the print level.
Implements SparseSolver.
Definition at line 245 of file acado_csparse.cpp.
|
virtual |
Sets the required tolerance (accuracy) for the solution of
the linear equation. For large tolerances an iterative
algorithm might converge earlier.
Requires || A*x - b || <= TOL
The norm || . || is possibly scaled by a preconditioner.
Implements SparseSolver.
Definition at line 239 of file acado_csparse.cpp.
|
virtual |
Solves the system A*x = b for the specified data.
Implements SparseSolver.
Definition at line 122 of file acado_csparse.cpp.
|
virtual |
Solves the system A^T*x = b for the specified data.
Reimplemented from SparseSolver.
Definition at line 143 of file acado_csparse.cpp.
|
protected |
Definition at line 181 of file acado_csparse.hpp.
|
protected |
Definition at line 183 of file acado_csparse.hpp.
|
protected |
Definition at line 183 of file acado_csparse.hpp.
|
protected |
Definition at line 195 of file acado_csparse.hpp.
|
protected |
Definition at line 182 of file acado_csparse.hpp.
|
protected |
Definition at line 199 of file acado_csparse.hpp.
|
protected |
Definition at line 194 of file acado_csparse.hpp.
|
protected |
Definition at line 198 of file acado_csparse.hpp.
|
protected |
Definition at line 189 of file acado_csparse.hpp.