NLA-lib Explorer

NLAlib.Ops.Examples.Strided.swapMatrixRows

Library · def

Exchange rows i and j of a matrix with p rows and n columns, stored by columns as one block: the two rows are operands of swapRows at offsets i and j of the block, with leading dimension p.

NLAlib.Ops.Examples.Strided.swapMatrixRows {Op Tst : Type} [Ops.Has Ops.ScalarOp Op] :
  Ops.Routine Op Tst

Full source on GitHub

Import NLAlib.Ops.Examples.Strided.