pdf

open override fun pdf(x: Double): Double(source)

Computes the probability density at x.

Returns the constant density 1 / (max - min) if x is within the support [min, max], or 0.0 otherwise.

Return

the probability density at x.

Parameters

x

the point at which to evaluate the density.