58 for( i = 0; i < m; i++ )
65 A.computeSparseLUdecomposition();
67 DVector res2 = b - B*A.solveSparseLU(b);
69 printf(
"LU: TIME = %.16e , error = %.16e \n", t2, res2.
getNorm(
VN_LINF ) );
71 DVector res3 = b - (B^A.solveTransposeSparseLU(b));
72 printf(
"LU: (transpose) , error = %.16e \n", res3.getNorm(
VN_LINF ) );
76 A.computeQRdecomposition();
#define USING_NAMESPACE_ACADO
returnValue readFromFile(real_t *data, int nrow, int ncol, const char *datafilename)
unsigned getNumRows() const
T getNorm(VectorNorm _norm) const