NLA-lib Explorer

NLAlib.inertiaPos

Library · def

The positive index of inertia i_+(\mathbf{A}): the number of positive eigenvalues. [HornJohnson2013, Definition 4.5.6]. For a matrix that is not Hermitian the value is 0, since eigenvalue is then zero.

NLAlib.inertiaPos.{u_1, u_3} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_3} [Fintype n]
  (A : Matrix n n 𝕜) : ℕ

Full source on GitHub

Import NLAlib.Matrix.Spectral.Inertia.