NLAlib.spectralMeasure_apply
Library ยท theorem
The spectral measure of a set S \subseteq \mathbb{R}, for every square \mathbf{A}: \mu_{\mathbf{A},\mathbf{b}}(S) = \operatorname{Re}\,\mathbf{b}^{\mathsf{H}} \mathbf{1}_S(\mathbf{A})\mathbf{b}, with \mathbf{1}_S the indicator of S; every set is measurable for an atomic measure, and \mathbf{1}_S(\mathbf{A}) is the orthogonal projector onto the sum of the eigenspaces of the eigenvalues in S.
NLAlib.spectralMeasure_apply.{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) S = ENNReal.ofReal (RCLike.re (quadForm (cfc (S.indicator fun x โฆ 1) A) b))Import NLAlib.Matrix.Spectral.SpectralMeasure.