PLASMA  2.8.0
PLASMA - Parallel Linear Algebra for Scalable Multi-core Architectures
void CORE_zgeqp3_norms ( PLASMA_desc  A,
int  ioff,
int  joff,
double *  norms1,
double *  norms2 
)

CORE_zgeqp3_norms computes the 2-norm of each column of A[ ioff:m, joff:n ] that is marked with norms2[j] == -1 on entry. Entries that are not marked are assumed to already contain the correct 2-norm, so that the same routine can be used for computing the initial norms and for updating bad norms. The result is stored duplicated in norms1 and norms2.

Parameters
[in]APLASMA descriptor of the matrix A. On entry, the M-by-N matrix described by the descriptor.
[in]ioffRow offset.
[in]joffColumn offset.
[in,out]norms1Vector of size A.n. On exit, norms1[j] is 2-norm of column j, for j >= joff.
[in,out]norms2Vector of size A.n. On entry, if norms2[j] == -1, re-compute norm of column j. On exit, norms2[j] is 2-norm of column j, for j >= joff.