NLA-lib Explorer

NLAlib.conjTranspose_selectionMatrix_mul

Library · theorem

Left multiplication by the conjugate transpose of a selection matrix selects rows: row j of \mathbf{S}^{\mathsf{H}}\mathbf{A} is row s(j) of \mathbf{A}.

NLAlib.conjTranspose_selectionMatrix_mul.{u_1, u_2, u_3, u_4} {𝕜 : Type u_1} [RCLike 𝕜]
  {m : Type u_2} {n : Type u_3} {p : Type u_4} [DecidableEq n] [Fintype n] (s : p → n)
  (A : Matrix n m 𝕜) : (selectionMatrix s)ᴴ * A = A.submatrix s id

Full source on GitHub

Import NLAlib.Matrix.Basic.Selection.