Loading...
Searching...
No Matches
gpr::linalg::PCGSettings Struct Reference

#include <gpr/linalg/IterativeSolver.h>

Public Attributes

double rtol = 1e-12
 Relative residual tolerance.
int max_iterations = 0
 0 = use 2 * n as the iteration cap
bool log_progress = false
 Emit per-iteration residual to stderr.

Detailed Description

Definition at line 55 of file IterativeSolver.h.

Member Data Documentation

◆ log_progress

bool gpr::linalg::PCGSettings::log_progress = false

Emit per-iteration residual to stderr.

Definition at line 58 of file IterativeSolver.h.

◆ max_iterations

int gpr::linalg::PCGSettings::max_iterations = 0

0 = use 2 * n as the iteration cap

Definition at line 57 of file IterativeSolver.h.

◆ rtol

double gpr::linalg::PCGSettings::rtol = 1e-12

Relative residual tolerance.

Definition at line 56 of file IterativeSolver.h.


The documentation for this struct was generated from the following file: