NLAlib.IsSVD.eq_add
Library ยท theorem
An SVD whose singular triples are split into two groups writes \mathbf{A} as a sum of two pieces with mutually orthogonal factors: if [\mathbf{U}_1 \; \mathbf{U}_2], (\boldsymbol{\sigma}_1, \boldsymbol{\sigma}_2), [\mathbf{V}_1 \; \mathbf{V}_2] is an SVD of \mathbf{A}, then \mathbf{A} = \mathbf{U}_1 \operatorname{diag}(\boldsymbol{\sigma}_1) \mathbf{V}_1^{\mathsf{H}} + \mathbf{U}_2 \operatorname{diag}(\boldsymbol{\sigma}_2) \mathbf{V}_2^{\mathsf{H}}. This is the form in which Wedin's theorem and the analysis of truncation consume an SVD.
NLAlib.IsSVD.eq_add.{u_1, u_3, u_4, u_6, u_7} {๐ : Type u_1} [RCLike ๐] {m : Type u_3}
{n : Type u_4} {rโ : Type u_6} {rโ : Type u_7} [Fintype m] [Fintype n] [Fintype rโ] [Fintype rโ]
[DecidableEq rโ] [DecidableEq rโ] {A : Matrix m n ๐} {Uโ : Matrix m rโ ๐} {Uโ : Matrix m rโ ๐}
{ฯโ : rโ โ โ} {ฯโ : rโ โ โ} {Vโ : Matrix n rโ ๐} {Vโ : Matrix n rโ ๐}
(h : IsSVD A (Uโ.fromCols Uโ) (ฯโ โแตฅ ฯโ) (Vโ.fromCols Vโ)) :
A = (Uโ * diagonal fun i โฆ โ(ฯโ i)) * Vโแดด + (Uโ * diagonal fun i โฆ โ(ฯโ i)) * VโแดดImport NLAlib.Matrix.Spectral.SVD.