Lines Matching refs:dA
42 …solver, const typename Solver::MatrixType& A, const Rhs& b, const DenseMat& dA, const DenseRhs& db) in check_sparse_solving() argument
48 DenseRhs refX = dA.householderQr().solve(db); in check_sparse_solving()
177 … check_sparse_determinant(Solver& solver, const typename Solver::MatrixType& A, const DenseMat& dA) in check_sparse_determinant() argument
189 Scalar refDet = dA.determinant(); in check_sparse_determinant()
193 …ck_sparse_abs_determinant(Solver& solver, const typename Solver::MatrixType& A, const DenseMat& dA) in check_sparse_abs_determinant() argument
206 Scalar refDet = abs(dA.determinant()); in check_sparse_abs_determinant()
211 …ypename Solver::MatrixType& A, typename Solver::MatrixType& halfA, DenseMat& dA, int maxSize = 300)
226 dA = dM * dM.adjoint();
281 DenseMatrix dA; variable
283 int size = generate_sparse_spd_problem(solver, A, halfA, dA, maxSize);
295 CALL_SUBTEST( check_sparse_solving(solver, A, b, dA, b) );
296 CALL_SUBTEST( check_sparse_solving(solver, halfA, b, dA, b) );
297 CALL_SUBTEST( check_sparse_solving(solver, A, dB, dA, dB) );
298 CALL_SUBTEST( check_sparse_solving(solver, halfA, dB, dA, dB) );
299 CALL_SUBTEST( check_sparse_solving(solver, A, B, dA, dB) );
300 CALL_SUBTEST( check_sparse_solving(solver, halfA, B, dA, dB) );
301 CALL_SUBTEST( check_sparse_solving(solver, A, c, dA, dc) );
302 CALL_SUBTEST( check_sparse_solving(solver, halfA, c, dA, dc) );
308 check_sparse_solving(solver, A, b, dA, b);
362 DenseMatrix dA; in check_sparse_spd_determinant() local
363 generate_sparse_spd_problem(solver, A, halfA, dA, 30); in check_sparse_spd_determinant()
366 check_sparse_determinant(solver, A, dA); in check_sparse_spd_determinant()
367 check_sparse_determinant(solver, halfA, dA ); in check_sparse_spd_determinant()
372 Index generate_sparse_square_problem(Solver&, typename Solver::MatrixType& A, DenseMat& dA, int max…
381 dA.resize(size,size);
383 initSparse<Scalar>(density, dA, A, options);
411 DenseMatrix dA; variable
413 Index size = generate_sparse_square_problem(solver, A, dA, maxSize);
424 CALL_SUBTEST(check_sparse_solving(solver, A, b, dA, b));
425 CALL_SUBTEST(check_sparse_solving(solver, A, dB, dA, dB));
426 CALL_SUBTEST(check_sparse_solving(solver, A, B, dA, dB));
427 CALL_SUBTEST(check_sparse_solving(solver, A, c, dA, dc));
433 check_sparse_solving(solver, A, b, dA, b);
486 DenseMatrix dA; in check_sparse_square_determinant() local
489 dA.setRandom(size,size); in check_sparse_square_determinant()
491 dA = (dA.array().abs()<0.3).select(0,dA); in check_sparse_square_determinant()
492 dA.diagonal() = (dA.diagonal().array()==0).select(1,dA.diagonal()); in check_sparse_square_determinant()
493 A = dA.sparseView(); in check_sparse_square_determinant()
496 check_sparse_determinant(solver, A, dA); in check_sparse_square_determinant()
509 DenseMatrix dA; in check_sparse_square_abs_determinant() local
510 generate_sparse_square_problem(solver, A, dA, 30); in check_sparse_square_abs_determinant()
512 check_sparse_abs_determinant(solver, A, dA); in check_sparse_square_abs_determinant()
517 void generate_sparse_leastsquare_problem(Solver&, typename Solver::MatrixType& A, DenseMat& dA, int…
527 dA.resize(rows,cols);
529 initSparse<Scalar>(density, dA, A, options);
543 DenseMatrix dA; in check_sparse_leastsquare_solving() local
545 generate_sparse_leastsquare_problem(solver, A, dA); in check_sparse_leastsquare_solving()
554 check_sparse_solving(solver, A, b, dA, b); in check_sparse_leastsquare_solving()
555 check_sparse_solving(solver, A, dB, dA, dB); in check_sparse_leastsquare_solving()
556 check_sparse_solving(solver, A, B, dA, dB); in check_sparse_leastsquare_solving()
562 check_sparse_solving(solver, A, b, dA, b); in check_sparse_leastsquare_solving()