NLA-lib Explorer

NLAlib.Ops.Examples.Strided.swappedRows

Library · def

The matrix stored by columns with rows i and j exchanged: entry q is in column q / p and row q % p.

NLAlib.Ops.Examples.Strided.swappedRows {K : Type} [Inhabited K] (As : List K) (p n i j : ℕ) :
  List K

Full source on GitHub

Import NLAlib.Ops.Examples.Strided.