NLA-lib Explorer

NLAlib.norm_householder_mulVec_householderVector_apply

Library · theorem

The cleared vector has the norm of \mathbf{x} in the chosen coordinate: \lvert (\mathbf{H}\mathbf{x})_{i_0} \rvert = \|\mathbf{x}\|.

NLAlib.norm_householder_mulVec_householderVector_apply.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜]
  {m : Type u_2} [Fintype m] [DecidableEq m] (x : m → 𝕜) (i₀ : m) :
  ‖(householder (householderVector x i₀) *ᵥ x) i₀‖ = ‖WithLp.toLp 2 x‖

Full source on GitHub

Import NLAlib.Matrix.Factorizations.Householder.