template<typename T, size_t N, unsigned int Flags = 0>
struct Linear::Cholesky< T, N, Flags >
Struct for Cholesky decomposition.
This struct finds NxN matrix L and NxN matrix D such that \(A=LDL^*\), L is lower unit triangular and D is diagonal.
- Parameters
-
T | Type to store matrix entries as. |
N | Number of rows/columns for L and D (both square). Dynamic is allowed for N. |
Flags | Flags to pass to the matrices (default = row major). |
template<typename T , size_t N, unsigned int Flags = 0>
template<size_t P, size_t Q, unsigned int Flags2>
Computes the Cholesky decomposition.
If A is not square or Q != N, then an exception is thrown. This process may fail if A is not a Hermitian positive-definite matrix.
- Parameters
-