NLA-lib Explorer

Draws of a stream into a buffer

Library · Source module

Draws of a stream into a buffer

The Gaussian samples of the small-eigenvalue program of [BanksGarzaVargasSrivastava2025] (the perturbation of the input and the random direction of RHess) are m consecutive draws of one tape stream, stored in a buffer: the window of m entries of the stream at the current position, which the run then advances by m.

Main definitions

* NLAlib.SmallEig.gaussDraws: the program [m] () → (G).

Main results

* NLAlib.SmallEig.gaussDraws_writes: the stored words are the window.

Declarations