NLAlib.IsSVD.frobInner_eq
Library ยท theorem
The Frobenius inner product of two matrices with the same singular vectors is the inner product of their diagonal factors: if \mathbf{A} = \mathbf{U} \operatorname{diag}(\boldsymbol{\sigma}) \mathbf{V}^{\mathsf{H}} and \mathbf{B} = \mathbf{U} \operatorname{diag}(\boldsymbol{\tau}) \mathbf{V}^{\mathsf{H}} are SVDs, then \langle \mathbf{A}, \mathbf{B} \rangle_{\mathsf{F}} = \sum_i \boldsymbol{\sigma}_i \boldsymbol{\tau}_i.
NLAlib.IsSVD.frobInner_eq.{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 ๐} {B : Matrix m n ๐}
{ฯ : r โ โ} (h : IsSVD A U ฯ V) (hB : IsSVD B U ฯ V) : frobInner A B = โ i, ฯ i * ฯ iImport NLAlib.Matrix.Spectral.SVD.