next up previous contents index
Next: Examples Up: General Linear Systems Previous: Purpose   Contents   Index


(input/output) REAL or COMPLEX square array, shape $(:,:)$.
On entry, the matrix $A$.
On exit, the factors $L$ and $U$ from the factorization $A=P L U$; the unit diagonal elements of $L$ are not stored.

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

Optional (output) INTEGER array, shape $(:)$ with $size({\bf IPIV})=size({\bf A},1)$.
The pivot indices that define the permutation matrix $P$; row $i$ of the matrix was interchanged with row ${\bf IPIV}_i\:$.

Optional (output) INTEGER

\item[{$= 0$}]: successful exit.
\item[{$< 0$}]: if ${\bf INFO...
...he factor $U$ is singular, so the solution could not be computed.
If ${\bf 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