numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
Loading...
Searching...
No Matches
num_prob_collect::regularization Namespace Reference

Namespace of regularization. More...

Namespaces

namespace  impl
 Namespace of implementations.
 

Classes

class  blur_sine
 Class of problem of blurred sine function. More...
 

Functions

template<typename Matrix >
auto dense_diff_matrix (num_collect::index_type rows, num_collect::index_type cols) -> Eigen::CwiseNullaryOp< impl::dense_diff_matrix_functor< Matrix >, Matrix >
 Create a dense differential matrix.
 
template<typename Matrix >
auto dense_diff_matrix (num_collect::index_type size) -> Eigen::CwiseNullaryOp< impl::dense_diff_matrix_functor< Matrix >, Matrix >
 Create a dense differential matrix.
 
template<num_collect::base::concepts::sparse_matrix Matrix>
void sparse_blur_matrix (Matrix &mat, num_collect::index_type rows, num_collect::index_type cols)
 Create a sparse blur matrix.
 
template<num_collect::concepts::sparse_matrix Matrix>
auto sparse_diff_matrix (num_collect::index_type size) -> Matrix
 Create a sparse differential matrix.
 
template<num_collect::concepts::sparse_matrix Matrix>
auto sparse_diff_matrix_2d (num_collect::index_type outer_size, num_collect::index_type inner_size) -> Matrix
 Create a sparse differential matrix in 2D.
 

Detailed Description

Namespace of regularization.

Function Documentation

◆ dense_diff_matrix() [1/2]

template<typename Matrix >
auto num_prob_collect::regularization::dense_diff_matrix ( num_collect::index_type rows,
num_collect::index_type cols ) -> Eigen::CwiseNullaryOp<impl::dense_diff_matrix_functor<Matrix>, Matrix>
inlinenodiscard

Create a dense differential matrix.

Template Parameters
MatrixType of the matrix.
Parameters
[in]rowsNumber of rows.
[in]colsNumber of columns.
Returns
Expression.

Definition at line 77 of file dense_diff_matrix.h.

◆ dense_diff_matrix() [2/2]

template<typename Matrix >
auto num_prob_collect::regularization::dense_diff_matrix ( num_collect::index_type size) -> Eigen::CwiseNullaryOp<impl::dense_diff_matrix_functor<Matrix>, Matrix>
inlinenodiscard

Create a dense differential matrix.

Template Parameters
MatrixType of the matrix.
Parameters
[in]sizeSize (number of columns).
Returns
Expression.

Definition at line 92 of file dense_diff_matrix.h.

◆ sparse_blur_matrix()

void num_prob_collect::regularization::sparse_blur_matrix ( Matrix & mat,
num_collect::index_type rows,
num_collect::index_type cols )
inline

Create a sparse blur matrix.

Template Parameters
MatrixType of the matrix.
Parameters
[out]matMatrix.
[in]rowsNumber of rows. (Size of data.)
[in]colsNumber of columns. (Size of solution.)

Definition at line 42 of file sparse_blur_matrix.h.

◆ sparse_diff_matrix()

template<num_collect::concepts::sparse_matrix Matrix>
auto num_prob_collect::regularization::sparse_diff_matrix ( num_collect::index_type size) -> Matrix
nodiscard

Create a sparse differential matrix.

Template Parameters
MatrixType of the matrix.
Parameters
[in]sizeSize (number of columns).
Returns
Matrix.

Definition at line 39 of file sparse_diff_matrix.h.

◆ sparse_diff_matrix_2d()

template<num_collect::concepts::sparse_matrix Matrix>
auto num_prob_collect::regularization::sparse_diff_matrix_2d ( num_collect::index_type outer_size,
num_collect::index_type inner_size ) -> Matrix
nodiscard

Create a sparse differential matrix in 2D.

Template Parameters
MatrixType of the matrix.
Parameters
[in]outer_sizeSize of the outer dimension.
[in]inner_sizeSize of the inner dimension.
Returns
Matrix.

Difference for the inner index.

Definition at line 40 of file sparse_diff_matrix_2d.h.