NLA-lib Explorer

NLAlib.frobPseudoConditionNumber

Library · def

The Frobenius pseudo-condition number \|\mathbf{A}\|_{\mathsf{F}}\|\mathbf{A}^{+}\|_2, that is frobNorm A * specNorm (pinv A), of a matrix of any shape and rank: the Frobenius norm divided by the smallest nonzero singular value (NLAlib.frobPseudoConditionNumber_eq_frobNorm_div_singularValues), and 0 for the zero matrix. Its square is the inverse rate of randomized Kaczmarz. It lies between the pseudo-condition number and \sqrt{\operatorname{rank}\mathbf{A}} times it, and its square is at least the rank. [StrohmerVershynin2009, Theorem 2], there \|\mathbf{A}\|_{\mathsf{F}}\|\mathbf{A}^{-1}\|_2 for a left inverse (full column rank), Demmel's scaled condition number; [ZouziasFreris2013, (2)], there with the pseudoinverse.

NLAlib.frobPseudoConditionNumber.{u_1, u_3, u_4} {𝕜 : Type u_1} [RCLike 𝕜] {m : Type u_3}
  {n : Type u_4} [Fintype m] [Fintype n] (A : Matrix m n 𝕜) : ℝ

Full source on GitHub

Import NLAlib.Matrix.Pseudoinverse.ConditionNumber.