NLA-lib Explorer

NLAlib.frobNorm_fromBlocks_sq

Library 路 theorem

The squared Frobenius norm of a block matrix is the sum over the four blocks: \left\|\begin{\mathbf{b}matri\mathbf{x}} \mathbf{A} & \mathbf{B} \\ \mathbf{C} & \mathbf{D} \end{\mathbf{b}matri\mathbf{x}} \right\|_{\mathsf{F}}^2 = \|\mathbf{A}\|_{\mathsf{F}}^2 + \|\mathbf{B}\|_{\mathsf{F}}^2 + \|\mathbf{C}\|_{\mathsf{F}}^2 + \|\mathbf{D}\|_{\mathsf{F}}^2\,.

NLAlib.frobNorm_fromBlocks_sq.{u_1, u_3, u_4, u_5, u_6} {饾暅 : Type u_1} [RCLike 饾暅] {m : Type u_3}
  {n : Type u_4} {p : Type u_5} {q : Type u_6} [Fintype m] [Fintype n] [Fintype p] [Fintype q]
  (A : Matrix m n 饾暅) (B : Matrix m q 饾暅) (C : Matrix p n 饾暅) (D : Matrix p q 饾暅) :
  frobNorm (fromBlocks A B C D) ^ 2 =
    frobNorm A ^ 2 + frobNorm B ^ 2 + frobNorm C ^ 2 + frobNorm D ^ 2

Full source on GitHub

Import NLAlib.Matrix.Norms.Block.