NLA-lib Explorer

NLAlib.singularGap

Library ยท def

The singular gap below the k largest singular values: \sigma_{k-1}(\mathbf{A}) - \sigma_k(\mathbf{A}) with singular values indexed from 0, the gap that separates the leading k-dimensional singular subspaces from the rest. The index is the dimension of those subspaces. With truncated subtraction singularGap A 0 = 0, so a hypothesis 0 < singularGap A k already excludes k = 0.

NLAlib.singularGap.{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 ๐•œ) (k : โ„•) : โ„

Full source on GitHub

Import NLAlib.Matrix.Spectral.SingularValueInequalities.