Perform Cholesky decomposition. More...
Perform Cholesky decomposition.
This function decomposes a positive definite matrix \(A\) into two triangular matrices such that, \(A = L * U\) and \(L = U^T\).
Only one of \(L\) and \(U\) is stored to conserve space when solving linear equations.
This operation can be performed in ArrayFire using the following code snippet.
array out;
cholesky(out, in, is_upper);
When memory is a concern, users can perform Cholesky decomposition in place as shown below.
array in2 = in.copy();
choleskyInPlace(in2, is_upper);
◆ af_cholesky()C Interface to perform Cholesky decomposition.
Multiplying out
with its conjugate transpose reproduces the input in
.
The input must be positive definite.
0
if cholesky decomposition passes; if not, it returns the rank at which the decomposition fails [in] in input matrix [in] is_upper boolean determining if out
is upper or lower triangular
C Interface to perform in-place Cholesky decomposition.
The input must be positive definite.
0
if cholesky decomposition passes; if not, it returns the rank at which the decomposition fails [in,out] in input matrix on entry; triangular matrix on exit [in] is_upper boolean determining if in
is upper or lower triangular
true
)
C++ Interface to perform Cholesky decomposition.
Multiplying out
with its conjugate transpose reproduces the input in
.
The input must be positive definite.
This function is not supported in GFOR.
out
is upper or lower triangular
0
if cholesky decomposition passes; if not, it returns the rank at which the decomposition fails
true
)
C++ Interface to perform in-place Cholesky decomposition.
The input must be positive definite.
This function is not supported in GFOR.
in
is upper or lower triangular
0
if cholesky decomposition passes; if not, it returns the rank at which the decomposition fails
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4