numerics
Loading...
Searching...
No Matches
solver_result.hpp
Go to the documentation of this file.
1/// @file solver_result.hpp
2/// @brief Common result type shared by all iterative solvers
3#pragma once
4#include "core/types.hpp"
5
6namespace num {
7
9 idx iterations; ///< Number of iterations performed
10 real residual; ///< Final residual norm ||b - Ax||
11 bool converged; ///< Whether tolerance was met
12};
13
14} // namespace num
Core type definitions.
double real
Definition types.hpp:10
std::size_t idx
Definition types.hpp:11
bool converged
Whether tolerance was met.
idx iterations
Number of iterations performed.
real residual
Final residual norm ||b - Ax||.