NLA-lib Explorer

NLAlib.Ops.Examples.Strided.swapRows

Library · def

Exchange two rows of n entries of a matrix stored by columns with leading dimension lda: entry k of a row is lda * k cells after its first. The rows may be rows of one matrix; they are then interleaved in one buffer, which separation by block admits.

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

Full source on GitHub

Import NLAlib.Ops.Examples.Strided.