elpa_cholesky(3)
๐ธ elpa_cholesky(3) ๐ธ
okay so bestie, welcome to the Library Functions Manual page for elpa_cholesky(3) ๐
this one is giving major linear algebra main character energy โจ
โจ NAME โจ
elpa_cholesky โ performs a Cholesky factorization of a real symmetric or complex hermitian positive-definite matrix: A = U^T*U or A = U^H*U, where U is an upper triangular matrix.
There are also variations of this routine that can accept not only host but also device pointers as input/output. Names of these routines explicitly contain the corresponding datatypes: elpa_cholesky_double, elpa_cholesky_float, elpa_cholesky_double_complex, elpa_cholesky_float_complex.
๐ ๏ธ SYNOPSIS ๐ ๏ธ
๐งฎ FORTRAN INTERFACE ๐งฎ
use elpa
class(elpa_t), pointer :: elpa_handle
call elpa_handle%cholesky (a, error)
With the definitions of the input and output variables:
datatype :: aโ on input: the local part of matrixAthat should be decomposed. On output: the local part upper triangular matrixU. The dimensions of matrixamust be set BEFORE with the methodselpa_set(3)andelpa_setup(3). The datatype of the matrix can be one of"real(kind=c_double)","real(kind=c_float)","complex(kind=c_double)", or"complex(kind=c_float)".integer, optional :: errorโ the return error code of the function. Should be"ELPA_OK". The error code can be queried with the functionelpa_strerr(3).
๐ป C/C++ INTERFACE ๐ป
#include <elpa/elpa.h>
elpa_t elpa_handle;
void elpa_cholesky(elpa_t elpa_handle, datatype *a, int *error);
With the definitions of the input and output variables:
elpa_t elpa_handle;โ the handle to the ELPA object.datatype *a;โ on input: the local part of matrixAthat should be decomposed. On output: the local part of upper triangular matrixU. The dimensions of the matrix must be set BEFORE with the methodselpa_set(3)andelpa_setup(3). The datatype can be one of"double","float","double complex"/"std::complex<double>","float complex"/"std::complex<float>"for C/C++.int *error;โ the error code of the function. Should be"ELPA_OK". The error codes can be queried withelpa_strerr(3).
๐ DESCRIPTION ๐
Computes the Cholesky decomposition of a real symmetric or complex hermitian positive-definite matrix. The functions elpa_init(3), elpa_allocate(3), elpa_set(3), and elpa_setup(3) must be called BEFORE elpa_cholesky can be called.
๐ SEE ALSO ๐
elpa_init(3)elpa_allocate(3)elpa_set(3)elpa_setup(3)elpa_strerr(3)elpa_eigenvalues(3)elpa_eigenvectors(3)elpa_invert_triangular(3)elpa_solve_tridiagonal(3)elpa_hermitian_multiply(3)elpa_uninit(3)elpa_deallocate(3)
bye bestie ๐ซถ this elpa_cholesky(3) page is brought to you by ELPA, dated Thu Nov 28 2024 โ go decompose something cute ๐
โจ
๐ฆ where this page comes from
- nixpkgs unstable: elpa 2026.02.002
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms