num::pde::make_cg_solver¶
Defined in header <pde/diffusion.hpp>
linear_solver make_cg_solver(const spmat &A, real tol = 1e-6);
Return a function that solves with A by conjugate gradients; it holds A by reference.
Defined in header <pde/diffusion.hpp>
linear_solver make_cg_solver(const spmat &A, real tol = 1e-6);
Return a function that solves with A by conjugate gradients; it holds A by reference.