numerics 0.1.0
Loading...
Searching...
No Matches
num::SolverResult Struct Reference

#include <solver_result.hpp>

Public Attributes

idx iterations = 0
 Number of iterations performed.
 
real residual = 0.0
 Final residual norm ||b - Ax||.
 
bool converged = false
 Whether tolerance was met.
 

Detailed Description

Definition at line 8 of file solver_result.hpp.

Member Data Documentation

◆ converged

bool num::SolverResult::converged = false

Whether tolerance was met.

Definition at line 11 of file solver_result.hpp.

◆ iterations

idx num::SolverResult::iterations = 0

Number of iterations performed.

Definition at line 9 of file solver_result.hpp.

Referenced by num::cg(), and num::cg_matfree().

◆ residual

real num::SolverResult::residual = 0.0

Final residual norm ||b - Ax||.

Definition at line 10 of file solver_result.hpp.


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