NLA-lib Explorer

NLAlib.eigengap_succ

Library · theorem

The eigengap at dimension k + 1 is \lambda_k(\mathbf{A}) - \lambda_{k+1}(\mathbf{A}). This is the form to compute with.

NLAlib.eigengap_succ.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_2} [Fintype n]
  (A : Matrix n n 𝕜) (k : ℕ) : eigengap A (k + 1) = eigenvalue A k - eigenvalue A (k + 1)

Full source on GitHub

Import NLAlib.Matrix.Spectral.Weyl.