NLA-lib Explorer

NLAlib.nystrom_selectionMatrix

Library · theorem

The selection case: the Nyström approximation \mathsf{nystrom}(\mathbf{A}, \mathbf{\Omega}) along \mathbf{\Omega} = selectionMatrix e is \mathbf{A}_{:,e}(\mathbf{A}_{e,e})^{+}\mathbf{A}_{e,:}, the matrix whose residual Matrix.PosSemidef.sub_submatrix_mul_pinv_mul and its neighbours study. Repeated indices are allowed.

NLAlib.nystrom_selectionMatrix.{u_1, u_4, u_5} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_4}
  {p : Type u_5} [Fintype n] [Fintype p] [DecidableEq n] (A : Matrix n n 𝕜) (e : p → n) :
  nystrom A (selectionMatrix e) = A.submatrix id e * pinv (A.submatrix e e) * A.submatrix e id

Full source on GitHub

Import NLAlib.Matrix.Factorizations.NystromGram.