pdf

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

Computes the probability density at x.

Returns zero for negative values. At x = 0, the density depends on the shape parameter: it equals rate when shape is 1, is infinite when shape is less than 1, and is zero when shape is greater than 1.

Return

the probability density at x. Always non-negative.

Parameters

x

the point at which to evaluate the density.