pdf — The probability density function
Usage
pdf(dist: Distribution<a>, x: a)
→ Double
Arguments
-
dist: -
The distribution parameter
-
x: -
The argument
Description
Find the probability density of x under the distribution dist.
Examples
pdf(Gamma(1, 2), 1)