NLA-lib Explorer

NLAlib.gershgorinRadius

Library · def

The Gershgorin radius of row i: the sum of the moduli of the off-diagonal entries of the row, R_i(\mathbf{A}) = \sum_{j \ne i} \lvert \mathbf{A}_{i,j} \rvert. The radius of column j is gershgorinRadius Aᵀ j. [HornJohnson2013, §6.1].

NLAlib.gershgorinRadius.{u_1, u_2} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_2} [Fintype n]
  [DecidableEq n] (A : Matrix n n 𝕜) (i : n) : ℝ

Full source on GitHub

Import NLAlib.Matrix.Spectral.Gershgorin.