NLA-lib Explorer

NLAlib.IsSVD

Library · structure

Singular value decomposition, thin form. IsSVD A U σ V means that \mathbf{U} and \mathbf{V} have orthonormal columns indexed by the same finite type r, the real numbers \boldsymbol{\sigma}_i are nonnegative, and \mathbf{A} = \mathbf{U} \operatorname{diag}(\boldsymbol{\sigma}) \mathbf{V}^{\mathsf{H}}. The index type is arbitrary and \boldsymbol{\sigma} need not be sorted. [HornJohnson2013, Theorem 2.6.3]; [GolubVanLoan2013, §2.4]. There the factors are square and unitary and the middle factor is a rectangular diagonal matrix; the thin form used here carries the same information and composes with products and block splittings.

NLAlib.IsSVD.{u_1, u_3, u_4, u_5} {𝕜 : Type u_1} [RCLike 𝕜] {m : Type u_3} {n : Type u_4}
  {r : Type u_5} [Fintype m] [Fintype n] [Fintype r] [DecidableEq r] (A : Matrix m n 𝕜)
  (U : Matrix m r 𝕜) (σ : r → ℝ) (V : Matrix n r 𝕜) : Prop

Full source on GitHub

Import NLAlib.Matrix.Spectral.SVD.