NLAlib.rayleighQuotient
Library ยท def
The Rayleigh quotient \operatorname{Re}(\mathbf{x}^{\mathsf{H}}\mathbf{A}\mathbf{x}) / \|\mathbf{x}\|^2 of a square matri\mathbf{x} at a \mathbf{v}ector. Real-\mathbf{v}alued; its \mathbf{v}alue at \mathbf{x} = \mathbf{0} is 0. For \mathbf{H}ermitian \mathbf{A} nothing is lost by taking the real part.
NLAlib.rayleighQuotient.{u_1, u_3} {๐ : Type u_1} [RCLike ๐] {n : Type u_3} [Fintype n]
(A : Matrix n n ๐) (x : n โ ๐) : โImport NLAlib.Matrix.Basic.QuadForm.