3 SparseMatrix<double>
A(
n,
n);
5 BiCGSTAB<SparseMatrix<double> >
solver;
8 std::cout <<
"#iterations: " <<
solver.iterations() << std::endl;
9 std::cout <<
"estimated error: " <<
solver.error() << std::endl;
BiCGSTAB< SparseMatrix< double > > solver
SparseMatrix< double > A(n, n)
Matrix< double, Dynamic, 1 > VectorXd
DynamicĂ—1 vector of type double.