NormalDistribution

class NormalDistribution(sampler: GaussianSampler) : Distribution1D<Double>

Implements Distribution1D for the normal (gaussian) distribution.

Constructors

Link copied to clipboard
fun NormalDistribution(sampler: GaussianSampler)

Functions

Link copied to clipboard
open override fun cumulative(arg: Double): Double

Cumulative distribution for ordered parameter (CDF)

Link copied to clipboard
open override fun probability(arg: Double): Double

A probability value for given argument arg. For continuous distributions returns PDF

Link copied to clipboard
open override fun sample(generator: RandomGenerator): Chain<Double>

Generates a chain of samples.

Properties

Link copied to clipboard
val sampler: GaussianSampler

Sources

Link copied to clipboard