ConstantSampler
Functions
Link copied to clipboard
Link copied to clipboard
Generates a chain of samples.
Link copied to clipboard
Generates size real samples and chunks them into some buffers.
Generates size integer samples and chunks them into some buffers.
fun <T : Any> Sampler<T>.sampleBuffer(generator: RandomGenerator, size: Int, bufferFactory: BufferFactory<T> = BufferFactory.boxing()): Chain<Buffer<T>>
Sample a bunch of values