NLA-lib Explorer

NLAlib.isHermitian_gramDefect

Library 路 theorem

The Gram defect on the support, \mathbf{Q}^{\mathsf{H}}\mathbf{Q} - \operatorname{diag}(\mathbf{s}) with \mathbf{s} the indicator of the nonzero columns of \mathbf{Q}, is Hermitian.

NLAlib.isHermitian_gramDefect.{u_1, u_2, u_3} {饾暅 : Type u_1} [RCLike 饾暅] {m : Type u_2}
  {喂 : Type u_3} [Fintype m] [DecidableEq 喂] (Q : Matrix m 喂 饾暅) : (gramDefect Q).IsHermitian

Full source on GitHub

Import NLAlib.Matrix.Perturbation.BasisExtension.