|
akreon-linalg
Fixed-size linear algebra and numerical methods in C++26.
|
#include <matrix_sqrt.hpp>
Public Types | |
| using | Mat = linalg::remove_cvref_t< MatIn > |
| alias & types | |
| using | T = matrix_scalar_t< Mat > |
Public Member Functions | |
| constexpr auto | operator() (const Mat &A) const |
| Compute the matrix square root and inverse square root. | |
| constexpr auto | apply (const Mat &A) const |
| Compute the matrix square root and inverse square root. | |
Public Attributes | |
| config::FactorConfig< T > | config |
| member vars | |
Static Public Attributes | |
| static constexpr std::size_t | N = mat_rows_v<Mat> |
Matrix sqrt (X^{1/2})
| MatIn | Real square matrix type. |
Definition at line 20 of file matrix_sqrt.hpp.
| using linalg::MatrixSqrt< MatIn >::Mat = linalg::remove_cvref_t<MatIn> |
alias & types
Definition at line 22 of file matrix_sqrt.hpp.
| using linalg::MatrixSqrt< MatIn >::T = matrix_scalar_t<Mat> |
Definition at line 23 of file matrix_sqrt.hpp.
|
inlineconstexpr |
Compute the matrix square root and inverse square root.
| [in] | A | Real square input matrix for Denman-Beavers iteration. |
Definition at line 43 of file matrix_sqrt.hpp.
References linalg::all_equal(), linalg::DB_MAX_ITERS_REACHED, linalg::mat_rows_v, and linalg::NONE.
Referenced by linalg::MatrixSqrt< MatIn >::operator()().
|
inlineconstexpr |
Compute the matrix square root and inverse square root.
| [in] | A | Real square input matrix for Denman-Beavers iteration. |
Definition at line 35 of file matrix_sqrt.hpp.
References linalg::MatrixSqrt< MatIn >::apply(), and linalg::mat_rows_v.
| config::FactorConfig<T> linalg::MatrixSqrt< MatIn >::config |
member vars
factor config
Definition at line 73 of file matrix_sqrt.hpp.
|
staticconstexpr |
Definition at line 24 of file matrix_sqrt.hpp.