NLAlib.spectralMeasure_real
Library ยท theorem
The spectral measure of every set as a real number: for every square \mathbf{A}, every \mathbf{b} and every S \subseteq \mathbb{R}, \mu_{\mathbf{A},\mathbf{b}}(S) = \operatorname{Re}\,\mathbf{b}^{\mathsf{H}}\mathbf{1}_S(\mathbf{A})\mathbf{b}, the quadratic form of the spectral projector \mathbf{1}_S(\mathbf{A}); no measurability of S is needed.
NLAlib.spectralMeasure_real.{u_1, u_2} {๐ : Type u_1} [RCLike ๐] {n : Type u_2} [Fintype n]
[DecidableEq n] (A : Matrix n n ๐) (b : n โ ๐) (S : Set โ) :
(spectralMeasure A b).real S = RCLike.re (quadForm (cfc (S.indicator fun x โฆ 1) A) b)Import NLAlib.Matrix.Spectral.SpectralMeasure.