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 is 0.5 when degrees of freedom equals 2, infinite when less than 2, and zero when greater than 2.

Return

the probability density at x. Always non-negative.

Parameters

x

the point at which to evaluate the density.