11 #include <Eigen/IterativeLinearSolvers> A preconditioner based on the digonal entries.
BiCGSTAB< _MatrixType, _Preconditioner > & setTolerance(const RealScalar &tolerance)
#define CALL_SUBTEST_3(FUNC)
bool bicgstab(const MatrixType &mat, const Rhs &rhs, Dest &x, const Preconditioner &precond, Index &iters, typename Dest::RealScalar &tol_error)
Holds information about the various numeric (i.e. scalar) types allowed by Eigen. ...
EIGEN_DECLARE_TEST(bicgstab)
#define CALL_SUBTEST_1(FUNC)
Incomplete LU factorization with dual-threshold strategy.
#define CALL_SUBTEST(FUNC)
A naive preconditioner which approximates any matrix as the identity matrix.
#define CALL_SUBTEST_2(FUNC)
A bi conjugate gradient stabilized solver for sparse square problems.
void check_sparse_square_solving(Solver &solver, int maxSize=300, int maxRealWorldSize=100000, bool checkDeficient=false)