numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
|
Base class of solvers for regularization. More...
#include <num_collect/regularization/regularized_solver_base.h>
Public Types | |
using | data_type = Data |
Type of data. | |
using | scalar_type |
Type of scalars. | |
Public Member Functions | |
auto | data_size () const -> index_type |
Get the size of data. | |
auto | param_search_region () const -> std::pair< scalar_type, scalar_type > |
Get the default region to search for the optimal regularization parameter. | |
void | solve (const scalar_type ¶m, data_type &solution) |
Solve for a regularization parameter. | |
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. | |
Protected Member Functions | |
regularized_solver_base (logging::log_tag_view tag) | |
Constructor. | |
auto | derived () const noexcept -> const Derived & |
Access derived object. | |
auto | derived () noexcept -> Derived & |
Access derived object. | |
Base class of solvers for regularization.
Derived | Type of derived class. |
Data | Type of data. |
Definition at line 40 of file regularized_solver_base.h.
using num_collect::regularization::regularized_solver_base< Derived, Data >::data_type = Data |
Type of data.
Definition at line 43 of file regularized_solver_base.h.
using num_collect::regularization::regularized_solver_base< Derived, Data >::scalar_type |
Type of scalars.
Definition at line 46 of file regularized_solver_base.h.
|
inlineexplicitprotected |
|
inlinenodiscard |
|
inlinenodiscardprotectednoexcept |
Access derived object.
Definition at line 103 of file regularized_solver_base.h.
|
inlinenodiscardprotectednoexcept |
Access derived object.
Definition at line 94 of file regularized_solver_base.h.
|
inlinenodiscard |
Get the default region to search for the optimal regularization parameter.
Definition at line 75 of file regularized_solver_base.h.
|
inline |
Solve for a regularization parameter.
[in] | param | Regularization parameter. |
[in,out] | solution | Solution. (Iterative algorithm uses this parameter as the initial solution.) |
Definition at line 56 of file regularized_solver_base.h.