NLA-lib Explorer

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))

Full source on GitHub

Import NLAlib.Matrix.Spectral.SpectralMeasure.