NLA-lib Explorer

NLAlib.exists_isSVD_fromCols

Library Ā· theorem

Existence of a split singular value decomposition: for k + d between the rank of \mathbf{A} and its smaller dimension, \mathbf{A} has an SVD whose first block carries the k largest singular values \sigma_0(\mathbf{A}), \dots, \sigma_{k-1}(\mathbf{A}) and whose second block carries the next d, \sigma_k(\mathbf{A}), \dots, \sigma_{k+d-1}(\mathbf{A}).

NLAlib.exists_isSVD_fromCols.{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 d : ā„•} (hk : A.rank ≤ k + d)
  (hkm : k + d ≤ Fintype.card m) (hkn : k + d ≤ Fintype.card n) :
  ∃ U₁ Uā‚‚ V₁ Vā‚‚,
    IsSVD A (U₁.fromCols Uā‚‚) ((fun i ↦ singularValues A ↑i) āŠ•įµ„ fun j ↦ singularValues A (k + ↑j))
      (V₁.fromCols Vā‚‚)

Full source on GitHub

Import NLAlib.Matrix.Spectral.SVD.