NLA-lib Explorer

NLAlib.Computation.tapeIndexMatrix

Library · def

The sample positions of an N \times N matrix drawn column-major: entry (i, j) is sample i + Nj (its two real draws at tape positions 2(i + Nj) and 2(i + Nj) + 1).

NLAlib.Computation.tapeIndexMatrix (N : ℕ) : Matrix (Fin N) (Fin N) ℕ

Full source on GitHub

Import NLAlib.Matrix.FinitePrecision.Samples.