NLAlib.singularGapRatio
Library ยท def
The relative singular gap \gamma = \frac{\sigma_i(\mathbf{A}) - \sigma_j(\mathbf{A})}{\sigma_i(\mathbf{A}) + \sigma_j(\mathbf{A})} between the singular values of indices i and j (from 0), in [0, 1] when i \le j (NLAlib.singularGapRatio_nonneg, NLAlib.singularGapRatio_le_one). It is the gap of the gapped bounds for Krylov methods, through (1 - \gamma)/(1 + \gamma) = \sigma_j/\sigma_i (NLAlib.one_sub_singularGapRatio_div_one_add_singularGapRatio). Junk value: 0 when \sigma_i(\mathbf{A}) = \sigma_j(\mathbf{A}) = 0. [TroppWebber2023, Theorem 9.2]; there \sigma_r and \sigma_s indexed from 1.
NLAlib.singularGapRatio.{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 ๐) (i j : โ) : โImport NLAlib.Matrix.Spectral.SingularValueInequalities.