int PLASMA_cgels_Tile ( PLASMA_enum  trans,
PLASMA_desc *  A,
PLASMA_desc *  T,
PLASMA_desc *  B 
)

PLASMA_cgels_Tile - Solves overdetermined or underdetermined linear system of equations using the tile QR or the tile LQ factorization. Tile equivalent of PLASMA_cgels(). Operates on matrices stored by tiles. All matrices are passed through descriptors. All dimensions are taken from the descriptors.

Parameters:
[in] trans Intended usage: = PlasmaNoTrans: the linear system involves A; = PlasmaConjTrans: the linear system involves A\*\*H. Currently only PlasmaNoTrans is supported.
[in,out] A 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_cgeqrf; if M < N, A is overwritten by details of its LQ factorization as returned by PLASMA_cgelqf.
[out] T On exit, auxiliary factorization data.
[in,out] B 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;
Returns:
PLASMA_SUCCESS successful exit
See also:
PLASMA_cgels
PLASMA_cgels_Tile_Async
PLASMA_cgels_Tile
PLASMA_dgels_Tile
PLASMA_sgels_Tile
 All Data Structures
Generated by  doxygen 1.6.3