(S|D|C|Z)POTF2¶
Single, double, single complex, and double complex POTF2.
Description¶
Computes the Cholesky factorization of a positive definite matrix using an unblocked algorithm.
If UPLO is ‘U’ then A is factored using an upper triangular matrix U:

If UPLO is ‘L’ then A is factored using a lower triangular matrix L:

The upper or lower triangular part of A is overwritten on exit with U or L. The opposite side is not modified.
LAPACK Interface¶
void spotf2(const char *UPLO, const qml_long *N, float *A, const qml_long *LDA,
qml_long *INFO);
void dpotf2(const char *UPLO, const qml_long *N, double *A, const qml_long *LDA,
qml_long *INFO);
void cpotf2(const char *UPLO, const qml_long *N, qml_single_complex *A,
const qml_long *LDA, qml_long *INFO);
void zpotf2(const char *UPLO, const qml_long *N, qml_double_complex *A,
const qml_long *LDA, qml_long *INFO);
Arguments¶
| UPLO | Specify whether to factor using ‘U’ upper triangular or ‘L’ lower triangular |
| N | Order of the matrix A |
| A | Matrix of size N x N, overwritten with factorization on exit |
| LDA | Leading dimension of A |
| INFO | 0 on success, <0 on illegal arguments, >0 if not positive definite |