NLA-lib Explorer

NLAlib.Ops.Examples.Strided.countPoly_swapMatrixRows

Library · theorem

The instruction polynomial of the exchange of two rows of one matrix, evaluated by the kernel: 34 n + 33 for n columns, whatever the leading dimension and the two rows.

NLAlib.Ops.Examples.Strided.countPoly_swapMatrixRows :
  (Ops.Examples.Strided.swapMatrixRows.close 4 1).countPoly = [(33, []), (34, [1])]

Full source on GitHub

Import NLAlib.Ops.Examples.Strided.