next up previous contents index
Next: Examples Up: Symmetric/Hermitian Positive Definite Linear Previous: Purpose   Contents   Index


(input/output) REAL or COMPLEX array, shape $(:)$ with $size({\bf AP}) = n(n+1)/2$, where $n$ is the order of $A$.
On entry, the upper or lower triangle of matrix $A$ in packed storage. The elements are stored columnwise as follows:

\begin{array}{c\vert c\vert c}
A_{i,j} & i,j & {\bf UPLO} ...
... \leq i \leq n \end{array} & \mbox{ 'L'} \\ \hline

On exit, the factor $U$ or $L$ from the Cholesky factorization $A = U^HU$ or $A = LL^H$, in the same storage format as $A$.

(input/output) REAL or COMPLEX array, shape $(:,:)$ with $size({\bf B},1) = n$ or shape $(:)$ with $size({\bf B}) = n$.
On entry, the matrix $B$.
On exit, the solution matrix $X$.

Optional (input) CHARACTER(LEN=1)

\item[{= 'U':}] Upper triangle of $A$\ is stored;
\item[{= 'L':}] Lower triangle of $A$\ is stored.
Default value: 'U'.

Optional (output) INTEGER.

\item[{$=$\ 0:}] successful exit.
\item[{$<$\ 0:}] if ${\bf IN...
...n could not be
completed and the solution could not be computed.
If INFO is not present and an error occurs, then the program is terminated with an error message.
References: [1] and [17,9,20].

Susan Blackford 2001-08-19