NLAlib.rayleighQuotient_def
Library · theorem
rayleighQuotient A x unfolds to \operatorname{Re}(\mathbf{x}^{\mathsf{H}}\mathbf{A}\mathbf{x}) / \|\mathbf{x}\|^2.
NLAlib.rayleighQuotient_def.{u_1, u_3} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_3} [Fintype n]
(A : Matrix n n 𝕜) (x : n → 𝕜) :
rayleighQuotient A x = RCLike.re (quadForm A x) / ‖WithLp.toLp 2 x‖ ^ 2Import NLAlib.Matrix.Basic.QuadForm.