NLA-lib Explorer

NLAlib.rayleighQuotient_eq_toEuclideanCLM

Library ยท theorem

The Rayleigh quotient of a matrix is Mathlib's ContinuousLinearMap.rayleighQuotient of the operator it defines on Euclidean space.

NLAlib.rayleighQuotient_eq_toEuclideanCLM.{u_1, u_3} {๐•œ : Type u_1} [RCLike ๐•œ] {n : Type u_3}
  [Fintype n] [DecidableEq n] (A : Matrix n n ๐•œ) (x : n โ†’ ๐•œ) :
  rayleighQuotient A x = (toEuclideanCLM A).rayleighQuotient (WithLp.toLp 2 x)

Full source on GitHub

Import NLAlib.Matrix.Basic.QuadForm.