NLA-lib Explorer

NLAlib.IsGSVD.conjTranspose_mul_mul_fromRows

Library · theorem

The stacked Gram matrix in normalized common right coordinates is the diagonal of c_i^2+s_i^2, which is the indicator of the active coordinates.

NLAlib.IsGSVD.conjTranspose_mul_mul_fromRows.{u_1, u_2, u_3, u_4} {𝕜 : Type u_1} [RCLike 𝕜]
  {m : Type u_2} {n : Type u_3} {p : Type u_4} [Fintype m] [Fintype n] [Fintype p] [DecidableEq n]
  {A : Matrix m n 𝕜} {B : Matrix p n 𝕜} {X : Matrix n n 𝕜} {c s : n → ℝ} (h : IsGSVD A B X c s) :
  Xᴴ * ((A.fromRows B)ᴴ * A.fromRows B) * X = diagonal fun i ↦ ↑(c i ^ 2 + s i ^ 2)

Full source on GitHub

Import NLAlib.Matrix.Factorizations.GeneralizedSVD.