NLA-lib Explorer

NLAlib.rayleighQuotient_of_norm_eq_one

Library · theorem

At a unit vector the Rayleigh quotient is the real part of the quadratic form.

NLAlib.rayleighQuotient_of_norm_eq_one.{u_1, u_3} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_3}
  [Fintype n] (A : Matrix n n 𝕜) {x : n → 𝕜} (hx : ‖WithLp.toLp 2 x‖ = 1) :
  rayleighQuotient A x = RCLike.re (quadForm A x)

Full source on GitHub

Import NLAlib.Matrix.Basic.QuadForm.