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

Result of a linear solve: the solution vector plus convergence stats. More...

#include <solve.hpp>

Public Attributes

Vector u
 solution vector
 
idx iterations = 0
 iterations performed
 
real residual = 0.0
 final residual norm ||b - A u||
 
bool converged = false
 

Detailed Description

Result of a linear solve: the solution vector plus convergence stats.

Definition at line 24 of file solve.hpp.

Member Data Documentation

◆ converged

bool num::LinearSolution::converged = false

Definition at line 28 of file solve.hpp.

◆ iterations

idx num::LinearSolution::iterations = 0

iterations performed

Definition at line 26 of file solve.hpp.

◆ residual

real num::LinearSolution::residual = 0.0

final residual norm ||b - A u||

Definition at line 27 of file solve.hpp.

◆ u

Vector num::LinearSolution::u

solution vector

Definition at line 25 of file solve.hpp.


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