NLA-lib Explorer

NLAlib.eigenvalue_neg

Library 路 theorem

Negation reverses and negates the eigenvalues: \lambda_k(-\mathbf{A}) = -\lambda_j(\mathbf{A}) when k + j + 1 = \lvert n \rvert. The index reversal is written with this equation so that no subtraction appears. No hypothesis on \mathbf{A} is needed: both sides are zero when \mathbf{A} is not Hermitian.

NLAlib.eigenvalue_neg.{u_1, u_2} {饾暅 : Type u_1} [RCLike 饾暅] {n : Type u_2} [Fintype n]
  (A : Matrix n n 饾暅) {k j : 鈩晑 (h : k + j + 1 = Fintype.card n) :
  eigenvalue (-A) k = -eigenvalue A j

Full source on GitHub

Import NLAlib.Matrix.Spectral.EigenvalueTransform.