FactorizedDistribution

class FactorizedDistribution<T>(distributions: Collection<NamedDistribution<T>>) : NamedDistribution<T>

A multivariate distribution that has independent distributions for separate axis

Constructors

FactorizedDistribution
Link copied to clipboard
common
fun <T> FactorizedDistribution(distributions: Collection<NamedDistribution<T>>)

Functions

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
open override fun probability(arg: Map<String, T>): Double
A probability value for given argument arg.
sample
Link copied to clipboard
common
open override fun sample(generator: RandomGenerator): Chain<Map<String, T>>
Create a chain of samples from this distribution.
toString
Link copied to clipboard
common
open fun toString(): String

Properties

distributions
Link copied to clipboard
common
val distributions: Collection<NamedDistribution<T>>