NLA-lib Explorer

NLAlib.coherence

Library · def

The coherence of \mathbf{A}: \lvert m \rvert times its largest leverage score, between \operatorname{rank} \mathbf{A} and \lvert m \rvert (NLAlib.rank_le_coherence, NLAlib.coherence_le_card). Junk value 0 for empty m. [MartinssonTropp2020, §9.6.1].

NLAlib.coherence.{u_1, u_2, u_3} {𝕜 : Type u_1} [RCLike 𝕜] {m : Type u_2} {n : Type u_3} [Fintype m]
  [Fintype n] (A : Matrix m n 𝕜) : ℝ

Full source on GitHub

Import NLAlib.Matrix.Subspaces.Leverage.