NLA-lib Explorer

NLAlib.selectionMatrix_eq_submatrix

Library · theorem

The selection matrix is a submatrix of the identity (Matrix.submatrix).

NLAlib.selectionMatrix_eq_submatrix.{u_1, u_3, u_4} {𝕜 : Type u_1} [RCLike 𝕜] {n : Type u_3}
  {p : Type u_4} [DecidableEq n] (s : p → n) : selectionMatrix s = submatrix 1 id s

Full source on GitHub

Import NLAlib.Matrix.Basic.Selection.