SecreC 2 language 2.9.0 (2026.10)
Language and standard library reference
Loading...
Searching...
No Matches
Functions

Functions

template<domain D :shared3p >
D float32 cholesky (D float32 x)
 
template<domain D :shared3p >
D float64 cholesky (D float64 x)
 

Detailed Description

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
x- matrix
Returns
returns matrix L such that x = L L^T
Leakage
None

Function Documentation

◆ cholesky() [1/2]

template<domain D :shared3p >
D float32 cholesky ( D float32  x)

◆ cholesky() [2/2]

template<domain D :shared3p >
D float64 cholesky ( D float64  x)