trans PLASMA_enum (IN)
Intended usage:
= PlasmaNoTrans: the linear system involves A;
= PlasmaTrans: the linear system involves A**T.
Currently only PlasmaNoTrans is supported.
M int (IN)
The number of rows of the matrix A. M >= 0.
N int (IN)
The number of columns of the matrix A. N >= 0.
NRHS int (IN)
The number of right hand sides, i.e., the number of columns of the matrices B and X.
NRHS >= 0.
A double* (INOUT)
On entry, the M-by-N matrix A.
On exit,
if M >= N, A is overwritten by details of its QR factorization as returned by
PLASMA_dgeqrf;
if M < N, A is overwritten by details of its LQ factorization as returned by
PLASMA_dgelqf.
LDA int (IN)
The leading dimension of the array A. LDA >= max(1,M).
T double* (OUT)
On exit, auxiliary factorization data.
B double* (INOUT)
On entry, the M-by-NRHS matrix B of right hand side vectors, stored columnwise;
On exit, if return value = 0, B is overwritten by the solution vectors, stored
columnwise:
if M >= N, rows 1 to N of B contain the least squares solution vectors; the residual
sum of squares for the solution in each column is given by the sum of squares of the
modulus of elements N+1 to M in that column;
if M < N, rows 1 to N of B contain the minimum norm solution vectors;
LDB int (IN)
The leading dimension of the array B. LDB >= MAX(1,M,N).