UnivariateDistribution

interface UnivariateDistribution<T : Comparable<T>> : Distribution<T>

Functions

cumulative
Link copied to clipboard
common
abstract fun cumulative(arg: T): Double
Cumulative distribution for ordered parameter (CDF)
equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
probability
Link copied to clipboard
common
abstract fun probability(arg: T): Double
A probability value for given argument arg.
sample
Link copied to clipboard
common
abstract override fun sample(generator: RandomGenerator): Chain<T>
Create a chain of samples from this distribution.
toString
Link copied to clipboard
common
open fun toString(): String

Inheritors

UniformDistribution
Link copied to clipboard

Extensions

integral
Link copied to clipboard
common
fun <T : Comparable<T>> UnivariateDistribution<T>.integral(from: T, to: T): Double
Compute probability integral in an interval