ReciprocalConditionNumTridiagonal

Trait ReciprocalConditionNumTridiagonal 

Source
pub trait ReciprocalConditionNumTridiagonal<A>
where A: Scalar,
{ // Required method fn rcond_tridiagonal(&self) -> Result<<A as Scalar>::Real, LinalgError>; }
Expand description

An interface for estimating the reciprocal condition number of tridiagonal matrix refs.

Required Methods§

Source

fn rcond_tridiagonal(&self) -> Result<<A as Scalar>::Real, LinalgError>

Estimates the reciprocal of the condition number of the tridiagonal matrix in 1-norm.

This method uses the LAPACK *gtcon routines, which estimate self.inv_tridiagonal().opnorm_one() and then compute rcond = 1. / (self.opnorm_one() * self.inv_tridiagonal().opnorm_one()).

  • If rcond is near 0., the matrix is badly conditioned.
  • If rcond is near 1., the matrix is well conditioned.

Implementors§