NLA-lib Explorer

NLAlib.spectralMeasure

Library ยท def

The spectral measure \mu_{\mathbf{A},\mathbf{b}} of a Hermitian \mathbf{A} and a vector \mathbf{b}: the finite measure on \mathbb{R} with an atom at each distinct eigenvalue \mathbf{x} of weight \|\mathbf{P}_\mathbf{x}\mathbf{b}\|^2, \mathbf{P}_\mathbf{x} the orthogonal projector onto the eigenspace of \mathbf{x}. Its integral of every f is \operatorname{Re}\,\mathbf{b}^{\mathsf{H}}f(\mathbf{A})\mathbf{b} (integral_spectralMeasure); its mass is \|\mathbf{b}\|^2. A repeated eigenvalue is one atom. Junk value: 0 when \mathbf{A} is not Hermitian. The projector \mathbf{P}_\mathbf{x} is cfc of the indicator of \{\mathbf{x}\}; that is a legitimate functional calculus (not the junk value of cfc_apply_of_not_continuousOn) because the spectrum is finite, so every function is continuous on it. The definition needs [DecidableEq n] through Mathlib's Matrix.finite_real_spectrum (Mathlib/Analysis/Matrix/Spectrum.lean). [GolubMeurant2010, Ch. 7].

NLAlib.spectralMeasure.{u_1, u_2} {๐•œ : Type u_1} [RCLike ๐•œ] {n : Type u_2} [Fintype n]
  [DecidableEq n] (A : Matrix n n ๐•œ) (b : n โ†’ ๐•œ) : Measure โ„

Full source on GitHub

Import NLAlib.Matrix.Spectral.SpectralMeasure.