PLASMA  2.8.0
PLASMA - Parallel Linear Algebra for Scalable Multi-core Architectures
int PLASMA_dgelqs ( int  M,
int  N,
int  NRHS,
double *  A,
int  LDA,
PLASMA_desc descT,
double *  B,
int  LDB 
)

PLASMA_dgelqs - Compute a minimum-norm solution min || A*X - B || using the LQ factorization A = L*Q computed by PLASMA_dgelqf.

Parameters
[in]MThe number of rows of the matrix A. M >= 0.
[in]NThe number of columns of the matrix A. N >= M >= 0.
[in]NRHSThe number of columns of B. NRHS >= 0.
[in,out]ADetails of the LQ factorization of the original matrix A as returned by PLASMA_dgelqf. Remark: If out-of-place layout translation is used, the matrix A can be considered as input, however if inplace layout translation is enabled, the content of A will be reordered for computation and restored before exiting the function.
[in]LDAThe leading dimension of the array A. LDA >= M.
[in]descTAuxiliary factorization data, computed by PLASMA_dgelqf.
[in,out]BOn entry, the M-by-NRHS right hand side matrix B. On exit, the N-by-NRHS solution matrix X.
[in]LDBThe leading dimension of the array B. LDB >= N.
Returns
Return values
PLASMA_SUCCESSsuccessful exit
<0if -i, the i-th argument had an illegal value
See also
PLASMA_dgelqs_Tile
PLASMA_dgelqs_Tile_Async
PLASMA_cgelqs
PLASMA_dgelqs
PLASMA_sgelqs
PLASMA_dgelqf