NLA-lib Explorer

NLAlib.frobNorm_fromRows_sq

Library 路 theorem

The squared Frobenius norm is additive over stacked rows: \left\|\begin{\mathbf{b}matri\mathbf{x}} \mathbf{A} \\ \mathbf{B} \end{\mathbf{b}matri\mathbf{x}}\right\|_{\mathsf{F}}^2 = \|\mathbf{A}\|_{\mathsf{F}}^2 + \|\mathbf{B}\|_{\mathsf{F}}^2\,.

NLAlib.frobNorm_fromRows_sq.{u_1, u_3, u_4, u_5} {饾暅 : Type u_1} [RCLike 饾暅] {m : Type u_3}
  {n : Type u_4} {p : Type u_5} [Fintype m] [Fintype n] [Fintype p] (A : Matrix m n 饾暅)
  (B : Matrix p n 饾暅) : frobNorm (A.fromRows B) ^ 2 = frobNorm A ^ 2 + frobNorm B ^ 2

Full source on GitHub

Import NLAlib.Matrix.Norms.Block.