numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
|
Base class of iterative solvers. More...
#include <num_collect/base/iterative_solver_base.h>
Public Member Functions | |
iterative_solver_base (logging::log_tag_view tag) | |
Constructor. | |
auto | is_stop_criteria_satisfied () const -> bool |
Determine if stopping criteria of the algorithm are satisfied. | |
void | iterate () |
Iterate the algorithm once. | |
void | solve () |
Solve the problem. | |
Public Member Functions inherited from num_collect::logging::logging_mixin | |
logging_mixin (log_tag_view tag) | |
Constructor. | |
template<typename Child > | |
void | configure_child_algorithm_logger_if_exists (Child &child) |
Configure a logger of a child algorithm if exists. | |
auto | logger () const noexcept -> const num_collect::logging::logger & |
Access to the logger. | |
auto | logger () noexcept -> num_collect::logging::logger & |
Access to the logger. | |
Public Member Functions inherited from num_collect::logging::iterations::iteration_logger_mixin< Derived > | |
iteration_logger_mixin ()=default | |
Constructor. | |
void | configure_iteration_logger (num_collect::logging::iterations::iteration_logger< Derived > &iteration_logger) const |
Configure an iteration logger. | |
auto | initialize_iteration_logger () -> num_collect::logging::iterations::iteration_logger< Derived > & |
Get the iteration logger. | |
Protected Member Functions | |
auto | derived () const noexcept -> const Derived & |
Access derived object. | |
auto | derived () noexcept -> Derived & |
Access derived object. | |
Base class of iterative solvers.
Derived | Type of derived class. |
Definition at line 35 of file iterative_solver_base.h.
|
inlineexplicit |
|
inlinenodiscardprotectednoexcept |
Access derived object.
Definition at line 99 of file iterative_solver_base.h.
|
inlinenodiscardprotectednoexcept |
Access derived object.
Definition at line 90 of file iterative_solver_base.h.
|
inlinenodiscard |
Determine if stopping criteria of the algorithm are satisfied.
Definition at line 62 of file iterative_solver_base.h.
|
inline |
Iterate the algorithm once.
init
functions) are assumed to have been done. Definition at line 55 of file iterative_solver_base.h.
|
inline |
Solve the problem.
Iterate the algorithm until the stopping criteria are satisfied.
init
functions) are assumed to have been done. Definition at line 74 of file iterative_solver_base.h.