|
template<domain D :shared3p > |
D float32 | cholesky (D float32[[2]] x) |
|
template<domain D :shared3p > |
D float64 | cholesky (D float64[[2]] x) |
|
Function for finding the Cholesky decomposition of a matrix.
- Note
- D - shared3p protection domain
-
Supported types - float32 / float64
-
The Cholesky decomposition can only be applied to positive-definite Hermitian matrices.
- Parameters
-
- Returns
- returns matrix L such that x = L L^T
- Leakage
- None
◆ cholesky() [1/2]
D float32 cholesky |
( |
D float32[[2]] |
x | ) |
|
◆ cholesky() [2/2]
D float64 cholesky |
( |
D float64[[2]] |
x | ) |
|