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