PLASMA  2.8.0
PLASMA - Parallel Linear Algebra for Scalable Multi-core Architectures
int PLASMA_sgecon ( PLASMA_enum  norm,
int  N,
float *  A,
int  LDA,
float  Anorm,
float *  rcond 
)

PLASMA_sgecon - estimates the reciprocal of the condition number of a general complex matrix A, in either the 1-norm or the infinity-norm, using the LU factorization computed by PLASMA_sgetrf().

An estimate is obtained for norm(inv(A)), and the reciprocal of the condition number is computed as

\[ rcond = \frac{1}{\|\|A\-\| \times \-\|A^{-1}\|\|} \]

Parameters
[in]normSpecifies whether the 1-norm condition number or the infinity-norm condition number is required: = PlasmaOneNorm: One norm = PlasmaInfNorm: Infinity norm
[in]NThe order of the matrix A. N >= 0.
[in]AThe N-by-N matrix A.
[in]LDAThe leading dimension of the array A. LDA >= max(1,N).
[in]AnormIf norm = PlasmaOneNorm, the 1-norm of the original matrix A. If norm = PlasmaInfNorm, the infinity-norm of the original matrix A.
[out]rcondThe reciprocal of the condition number of the matrix A, computed as stated above.
Returns
Return values
PLASMA_SUCCESSsuccessful exit
<0if -i, the i-th argument had an illegal value
See also
PLASMA_sgecon_Tile
PLASMA_sgecon_Tile_Async
PLASMA_cgecon
PLASMA_dgecon
PLASMA_sgecon