NLAlib.re_quadForm_mem_of_spectrum_subset
Library Β· theorem
The quadratic form of a Hermitian matrix at a unit vector lies in every convex set containing the spectrum: \operatorname{Re}(\mathbf{x}^{\mathsf{H}}\mathbf{A}\mathbf{x}) \in s for \|\mathbf{x}\| = 1, since it is a convex combination of the eigenvalues.
NLAlib.re_quadForm_mem_of_spectrum_subset.{u_1, u_3} {π : Type u_1} [RCLike π] {n : Type u_3}
[Fintype n] [DecidableEq n] {s : Set β} (hs : Convex β s) {A : Matrix n n π} (hA : A.IsHermitian)
(hAs : spectrum β A β s) {x : n β π} (hx : βWithLp.toLp 2 xβ = 1) : RCLike.re (quadForm A x) β sImport NLAlib.Matrix.Functions.TraceFunctions.