Sampler
Functions
sample
Link copied to clipboard
Inheritors
Distribution
Link copied to clipboard
AhrensDieterExponentialSampler
Link copied to clipboard
AhrensDieterMarsagliaTsangGammaSampler
Link copied to clipboard
AliasMethodDiscreteSampler
Link copied to clipboard
KempSmallMeanPoissonSampler
Link copied to clipboard
BlockingDoubleSampler
Link copied to clipboard
SmallMeanPoissonSampler
Link copied to clipboard
LargeMeanPoissonSampler
Link copied to clipboard
ConstantSampler
Link copied to clipboard
BasicSampler
Link copied to clipboard
Extensions
sampleBuffer
Link copied to clipboard
fun <T : Any> Sampler<T>.sampleBuffer(generator: RandomGenerator, size: Int, bufferFactory: BufferFactory<T> = Buffer.Companion::boxing): Chain<Buffer<T>>
Content copied to clipboard
fun Sampler<Double>.sampleBuffer(generator: RandomGenerator, size: Int): Chain<Buffer<Double>>
Content copied to clipboard
Generates size real samples and chunks them into some buffers.
fun Sampler<Int>.sampleBuffer(generator: RandomGenerator, size: Int): Chain<Buffer<Int>>
Content copied to clipboard
Generates size integer samples and chunks them into some buffers.
Sources
common source
Link copied to clipboard