NLA-lib Explorer

NLAlib.frobNorm

Library · def

The Frobenius norm \|\mathbf{A}\|_{\mathsf{F}} = \bigl(\sum_{i,j} \lvert \mathbf{A}_{i,j} \rvert^2\bigr)^{1/2}. Its square is written frobNorm A ^ 2. [GolubVanLoan2013, §2.3.1].

NLAlib.frobNorm.{u_1, u_3, u_4} {𝕜 : Type u_1} [RCLike 𝕜] {m : Type u_3} {n : Type u_4} [Fintype m]
  [Fintype n] (A : Matrix m n 𝕜) : ℝ

Full source on GitHub

Import NLAlib.Matrix.Norms.Frobenius.