|
akreon-linalg
Fixed-size linear algebra and numerical methods in C++26.
|
Symmetric matrix inverse via LDL^T. More...
#include <matrix_inverse.hpp>
Public Types | |
| using | Mat = linalg::remove_cvref_t< MatIn > |
| using | T = matrix_scalar_t< Mat > |
Public Member Functions | |
| constexpr auto | operator() (const Mat &A) const |
| Compute the inverse by solving against identity columns. | |
| constexpr auto | apply (const Mat &A) const |
| Compute the inverse by solving against identity columns. | |
Static Public Attributes | |
| static constexpr std::size_t | N = mat_rows_v<Mat> |
Symmetric matrix inverse via LDL^T.
| MatIn | Square symmetric input matrix type. |
Definition at line 65 of file matrix_inverse.hpp.
| using linalg::SymmetricMatrixInverse< MatIn >::Mat = linalg::remove_cvref_t<MatIn> |
Definition at line 66 of file matrix_inverse.hpp.
| using linalg::SymmetricMatrixInverse< MatIn >::T = matrix_scalar_t<Mat> |
Definition at line 67 of file matrix_inverse.hpp.
|
inlineconstexpr |
Compute the inverse by solving against identity columns.
| [in] | A | Square symmetric input matrix. |
Definition at line 87 of file matrix_inverse.hpp.
References linalg::constexpr_abs(), linalg::FACTORIZATION_FAILED, linalg::is_fatal_event(), linalg::mat_rows_v, linalg::SymmetricMatrixInverse< MatIn >::N, and linalg::NONE.
Referenced by linalg::SymmetricMatrixInverse< MatIn >::operator()().
|
inlineconstexpr |
Compute the inverse by solving against identity columns.
| [in] | A | Square symmetric input matrix. |
Definition at line 78 of file matrix_inverse.hpp.
References linalg::SymmetricMatrixInverse< MatIn >::apply(), and linalg::mat_rows_v.
|
staticconstexpr |
Definition at line 68 of file matrix_inverse.hpp.
Referenced by linalg::SymmetricMatrixInverse< MatIn >::apply().