|
int PLASMA_spotrf |
( |
PLASMA_enum |
uplo, |
|
|
int |
N, |
|
|
float * |
A, |
|
|
int |
LDA | |
|
) |
| | |
PLASMA_spotrf - Computes the Cholesky factorization of a symmetric positive definite (or Hermitian positive definite in the complex case) matrix A. The factorization has the form
where U is an upper triangular matrix and L is a lower triangular matrix.
- Parameters:
-
[in] | uplo | = PlasmaUpper: Upper triangle of A is stored; = PlasmaLower: Lower triangle of A is stored. |
[in] | N | The order of the matrix A. N >= 0. |
[in,out] | A | On entry, the symmetric positive definite (or Hermitian) matrix A. If uplo = PlasmaUpper, the leading N-by-N upper triangular part of A contains the upper triangular part of the matrix A, and the strictly lower triangular part of A is not referenced. If UPLO = 'L', the leading N-by-N lower triangular part of A contains the lower triangular part of the matrix A, and the strictly upper triangular part of A is not referenced. On exit, if return value = 0, the factor U or L from the Cholesky factorization A = U\*\*T*U or A = L*L\*\*T. |
[in] | LDA | The leading dimension of the array A. LDA >= max(1,N). |
- Returns:
- Return values:
-
| PLASMA_SUCCESS | successful exit |
| <0 | if -i, the i-th argument had an illegal value |
| >0 | if i, the leading minor of order i of A is not positive definite, so the factorization could not be completed, and the solution has not been computed. |
- See also:
- PLASMA_spotrf_Tile
-
PLASMA_spotrf_Tile_Async
-
PLASMA_cpotrf
-
PLASMA_dpotrf
-
PLASMA_spotrf
-
PLASMA_spotrs
|