UniformDistribution
class UniformDistribution(val range: ClosedFloatingPointRange<Double>) : Distribution1D<Double> (source)
Functions
Link copied to clipboard
Cumulative distribution for ordered parameter (CDF)
Link copied to clipboard
Compute probability integral in an interval
Link copied to clipboard
Link copied to clipboard
A probability value for given argument arg. For continuous distributions returns PDF
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