NLA-lib Explorer

NLAlib.spectralConditionNumber

Library · def

The classical spectral condition number of a square matrix. It agrees with pseudoConditionNumber on invertible matrices and takes the value infinity on singular matrices. The empty matrix is invertible and has condition number zero with the operator-norm convention. [GolubVanLoan2013, §2.6.2].

NLAlib.spectralConditionNumber.{u_1, u_4} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_4} [Fintype n]
  [DecidableEq n] (A : Matrix n n 𝕜) : ℝ≥0∞

Full source on GitHub

Import NLAlib.Matrix.Pseudoinverse.ConditionNumber.