On entry: the
by
Hermitian positive definite matrix
.
If , is stored in .
If , is stored in .
If , the upper triangular part of must be stored and the elements of the array below the diagonal are not referenced.
If , the lower triangular part of must be stored and the elements of the array above the diagonal are not referenced.
On exit: the upper or lower triangle of
is overwritten by the Cholesky factor
or
as specified by
uplo.