NLA-lib Explorer

NLAlib.rayleighQuotient_of_mulVec_eq_smul

Library ยท theorem

The Rayleigh quotient at an eigenvector is the real part of the eigenvalue: if \mathbf{A}\mathbf{x} = c\mathbf{x} with \mathbf{x} \ne \mathbf{0}, it equals \operatorname{Re} c.

NLAlib.rayleighQuotient_of_mulVec_eq_smul.{u_1, u_3} {๐•œ : Type u_1} [RCLike ๐•œ] {n : Type u_3}
  [Fintype n] {A : Matrix n n ๐•œ} {x : n โ†’ ๐•œ} {c : ๐•œ} (h : A *แตฅ x = c โ€ข x) (hx : x โ‰  0) :
  rayleighQuotient A x = RCLike.re c

Full source on GitHub

Import NLAlib.Matrix.Basic.QuadForm.