numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
|
Base class of solvers using explicit formulas for regularization. More...
#include <num_collect/regularization/explicit_regularized_solver_base.h>
Public Member Functions | |
auto | first_derivative_of_regularization_term (const scalar_type ¶m) const -> scalar_type |
Calculate the first-order derivative of the Regularization term. | |
auto | first_derivative_of_residual_norm (const scalar_type ¶m) const -> scalar_type |
Calculate the first-order derivative of the squared norm of the residual. | |
auto | gcv (const scalar_type ¶m) const -> scalar_type |
Calculate GCV function. | |
auto | l_curve_curvature (const scalar_type ¶m) const |
Calculate the curvature of L-curve. | |
auto | regularization_term (const scalar_type ¶m) const -> scalar_type |
Calculate the regularization term. | |
auto | residual_norm (const scalar_type ¶m) const -> scalar_type |
Calculate the squared norm of the residual. | |
auto | second_derivative_of_regularization_term (const scalar_type ¶m) const -> scalar_type |
Calculate the send-order derivative of the Regularization term. | |
auto | second_derivative_of_residual_norm (const scalar_type ¶m) const -> scalar_type |
Calculate the second-order derivative of the squared norm of the residual. | |
void | solve (const scalar_type ¶m, data_type &solution) const |
Solve for a regularization parameter. | |
auto | sum_of_filter_factor (const scalar_type ¶m) const -> scalar_type |
Calculate the sum of filter factors. | |
Public Member Functions inherited from num_collect::regularization::regularized_solver_base< Derived, Data > | |
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 | |
explicit_regularized_solver_base (logging::log_tag_view tag) | |
Constructor. | |
Protected Member Functions inherited from num_collect::regularization::regularized_solver_base< Derived, Data > | |
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. | |
Additional Inherited Members | |
Public Types inherited from num_collect::regularization::regularized_solver_base< Derived, Data > | |
using | data_type = Data |
Type of data. | |
using | scalar_type |
Type of scalars. | |
Base class of solvers using explicit formulas for regularization.
Derived | Type of derived class. |
Data | Type of data. |
Definition at line 37 of file explicit_regularized_solver_base.h.
|
inlineexplicitprotected |
Constructor.
[in] | tag | Log tag. |
Definition at line 177 of file explicit_regularized_solver_base.h.
|
inlinenodiscard |
Calculate the first-order derivative of the Regularization term.
[in] | param | Regularization parameter. |
Definition at line 94 of file explicit_regularized_solver_base.h.
|
inlinenodiscard |
Calculate the first-order derivative of the squared norm of the residual.
[in] | param | Regularization parameter. |
Definition at line 83 of file explicit_regularized_solver_base.h.
|
inlinenodiscard |
Calculate GCV function.
[in] | param | Regularization parameter. |
Definition at line 165 of file explicit_regularized_solver_base.h.
|
inlinenodiscard |
Calculate the curvature of L-curve.
[in] | param | Regularization parameter. |
Definition at line 139 of file explicit_regularized_solver_base.h.
|
inlinenodiscard |
Calculate the regularization term.
[in] | param | Regularization parameter. |
Definition at line 71 of file explicit_regularized_solver_base.h.
|
inlinenodiscard |
Calculate the squared norm of the residual.
[in] | param | Regularization parameter. |
Definition at line 60 of file explicit_regularized_solver_base.h.
|
inlinenodiscard |
Calculate the send-order derivative of the Regularization term.
[in] | param | Regularization parameter. |
Definition at line 117 of file explicit_regularized_solver_base.h.
|
inlinenodiscard |
Calculate the second-order derivative of the squared norm of the residual.
[in] | param | Regularization parameter. |
Definition at line 106 of file explicit_regularized_solver_base.h.
|
inline |
Solve for a regularization parameter.
[in] | param | Regularization parameter. |
[out] | solution | Solution. |
Definition at line 50 of file explicit_regularized_solver_base.h.
|
inlinenodiscard |
Calculate the sum of filter factors.
[in] | param | Regularization parameter. |
Definition at line 128 of file explicit_regularized_solver_base.h.