NLA-lib Explorer

NLAlib.quadForm_one

Library · theorem

The quadratic form of the identity is the squared Euclidean norm, \mathbf{z}^{\mathsf{H}}\mathbf{z} = \|\mathbf{z}\|^2.

NLAlib.quadForm_one.{u_1, u_3} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_3} [Fintype n] [DecidableEq n]
  (z : n → 𝕜) : quadForm 1 z = ↑(‖WithLp.toLp 2 z‖ ^ 2)

Full source on GitHub

Import NLAlib.Matrix.Basic.QuadForm.