NLA-lib Explorer

NLAlib.Ops.sampleRoutine

Library · def

Draw a vector from a named stream: [n] () → (y : n), drawing n positions. Callers run it by its interface.

NLAlib.Ops.sampleRoutine {Op Tst : Type} [Ops.Has Ops.SampleOp Op] (stream : ℕ) : Ops.Routine Op Tst

Full source on GitHub

Import NLAlib.Ops.Blas.Sampling.