Package space.kscience.kmath.distributions

Types

Link copied to clipboard
interface Distribution<T : Any> : Sampler<T>

A distribution of typed objects.

Link copied to clipboard
interface Distribution1D<T : Comparable<T>> : Distribution<T>
Link copied to clipboard
class DistributionBuilder<T : Any>
Link copied to clipboard
class FactorizedDistribution<T>(distributions: Collection<NamedDistribution<T>>) : NamedDistribution<T>

A multivariate distribution that has independent distributions for separate axis.

Link copied to clipboard
interface NamedDistribution<T> : Distribution<Map<String, T>>

A multivariate distribution that takes a map of parameters.

Link copied to clipboard
class NamedDistributionWrapper<T : Any>(name: String, distribution: Distribution<T>) : NamedDistribution<T>
Link copied to clipboard
class NormalDistribution(sampler: GaussianSampler) : Distribution1D<Double>

Implements Distribution1D for the normal (gaussian) distribution.

Functions

Link copied to clipboard
fun <T : Comparable<T>> Distribution1D<T>.integral(from: T, to: T): Double

Compute probability integral in an interval

Link copied to clipboard
fun NormalDistribution(mean: Double, standardDeviation: Double, normalized: NormalizedGaussianSampler = ZigguratNormalizedGaussianSampler): NormalDistribution