numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
Loading...
Searching...
No Matches
num_collect::base::concepts::iterative_solver Concept Reference

Concept of iterative solvers. More...

#include <num_collect/base/concepts/iterative_solver.h>

Concept definition

template<typename T>
concept num_collect::base::concepts::iterative_solver = requires(T& solver, const T& const_solver) {
{ solver.iterate() };
{ const_solver.is_stop_criteria_satisfied() } -> decayed_to<bool>;
{ solver.solve() };
{ solver.logger() } -> reference_of<logging::logger>;
{ const_solver.logger() } -> reference_of<const logging::logger>;
requires requires(
logging::iterations::iteration_logger<T>& iteration_logger) {
{ solver.configure_iteration_logger(iteration_logger) };
};
}

Detailed Description

Concept of iterative solvers.

Template Parameters
TType.

Definition at line 37 of file iterative_solver.h.