Skip to content

num::pcg_options

Defined in header <linear/solvers/pcg.hpp>

struct pcg_options;

Options for preconditioned conjugate gradients: tolerance and iteration limit.

Members

member description
num::tolerance tolerance{.rtol = 1e-10} On \(\Vert b - Ax\Vert _2\) against \(\Vert b\Vert _2\).
idx max_iterations = 1000