NLA-lib Explorer

NLAlib.isSVD_svdU_svdV

Library · theorem

The chosen SVD is an SVD: \mathbf{A} = \mathsf{svdU}(\mathbf{A})\,\mathbf{\Sigma}\, \mathsf{svdV}(\mathbf{A})^{\mathsf{H}} with orthonormal columns and \mathbf{\Sigma} = \operatorname{diag}(\sigma_i(\mathbf{A}))_{i<r}, r = \min(\lvert m\rvert, \lvert n\rvert), the singular values in non-increasing order.

NLAlib.isSVD_svdU_svdV.{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 𝕜) :
  IsSVD A (svdU A) (fun i ↦ singularValues A ↑i) (svdV A)

Full source on GitHub

Import NLAlib.Matrix.Spectral.SVD.