NLA-lib Explorer

NLAlib.BlockKrylov.packedSampleTape

Library · def

The tape that carries the matrix \mathbf{X} as start block: its entries, column by column, at the first n\mathbf{b} positions of the named stream, and the default word elsewhere. It is a constructor of tapes for the coupling with a random matrix, not an initialization of a buffer.

NLAlib.BlockKrylov.packedSampleTape {K : Type} [Inhabited K] {n b : ℕ} (stream : ℕ)
  (X : Matrix (Fin n) (Fin b) K) : Ops.Tape K

Full source on GitHub

Import NLAlib.LowRank.BlockKrylov.Samples.