Trait ndarray_linalg::solve::ReciprocalConditionNum
source · pub trait ReciprocalConditionNum<A: Scalar> {
// Required method
fn rcond(&self) -> Result<A::Real>;
}
Expand description
An interface for estimating the reciprocal condition number of matrix refs.
Required Methods§
sourcefn rcond(&self) -> Result<A::Real>
fn rcond(&self) -> Result<A::Real>
Estimates the reciprocal of the condition number of the matrix in 1-norm.
This method uses the LAPACK *gecon
routines, which estimate
self.inv().opnorm_one()
and then compute rcond = 1. / (self.opnorm_one() * self.inv().opnorm_one())
.
- If
rcond
is near0.
, the matrix is badly conditioned. - If
rcond
is near1.
, the matrix is well conditioned.