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

PLASMA_sgeqrs - Compute a minimum-norm solution min || A*X - B || using the QR factorization A = Q*R computed by PLASMA_sgeqrf.

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 QR factorization of the original matrix A as returned by PLASMA_sgeqrf. 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_sgeqrf.
[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 >= max(1,N).
Returns
Return values
PLASMA_SUCCESSsuccessful exit
<0if -i, the i-th argument had an illegal value
See also
PLASMA_sgeqrs_Tile
PLASMA_sgeqrs_Tile_Async
PLASMA_cgeqrs
PLASMA_dgeqrs
PLASMA_sgeqrs
PLASMA_sgeqrf