Struct IterativeAlgorithmResult

Struct Documentation

struct IterativeAlgorithmResult

The IterativeAlgorithmResult struct. Helper struct to assemble the result of an iterative algorithm.

Public Functions

IterativeAlgorithmResult() = default

IterativeAlgorithmResult.

IterativeAlgorithmResult(real_t tol, real_t res, uint_t nitrs, std::chrono::duration<real_t> time)

IterativeAlgorithmResult.

std::ostream &print(std::ostream &out) const

print

Public Members

real_t tolerance

tolerance

real_t residual

residual

uint_t num_iterations

num_iterations

bool converged = false

converged

std::chrono::duration<real_t> total_time

total_time

std::vector<real_t> residuals

residuals