36 #if defined( ACADO_CMAKE_BUILD ) && defined( __cplusplus ) 39 #endif // ACADO_CMAKE_BUILD 40 #include "../../csparse/cs.h" 42 #if defined( ACADO_CMAKE_BUILD ) && defined( __cplusplus ) 44 #endif // ACADO_CMAKE_BUILD 79 for (run1 = 0; run1 <
dim; run1++)
80 x[run1] = arg.
x[run1];
196 for (run1 = 0; run1 <
nDense; run1++)
198 index1[run1] = rowIdx_[run1];
199 index2[run1] = colIdx_[run1];
217 for (run1 = 0; run1 <
nDense; run1++)
233 for (run1 = 0; run1 <
dim; run1++)
css * cs_sqr(int order, const cs *A, int qr)
int cs_lsolve(const cs *L, double *x)
cs * cs_spalloc(int m, int n, int nzmax, int values, int triplet)
int cs_ltsolve(const cs *L, double *x)
Allows to pass back messages to the calling function.
virtual returnValue setMatrix(double *A_)
#define CLOSE_NAMESPACE_ACADO
int cs_ipvec(const int *p, const double *b, double *x, int n)
virtual returnValue setPrintLevel(PrintLevel printLevel_)
int cs_usolve(const cs *U, double *x)
virtual returnValue setIndices(const int *rowIdx_, const int *colIdx_)
int cs_utsolve(const cs *U, double *x)
virtual ACADOcsparse * clone() const
int cs_entry(cs *T, int i, int j, double x)
virtual returnValue setNumberOfEntries(const int &nDense_)
virtual returnValue getX(double *x_)
cs * cs_compress(const cs *T)
virtual returnValue setDimension(const int &n)
#define BEGIN_NAMESPACE_ACADO
virtual returnValue setTolerance(double TOL_)
virtual returnValue solve(double *b)
csn * cs_lu(const cs *A, const css *S, double tol)
#define ACADOERROR(retval)
virtual returnValue solveTranspose(double *b)