pdf#
- Uniform.pdf(X)[source]#
Probability density function (PDF).
The PDF for the unifrom distribution is:
\[f(x | \alpha, \beta) = frac{1}{\beta - \alpha}\]where \(\alpha\) is the left_border parameter and \(\beta\) is the right_border parameter. The function is zero for \(x < \alpha\) or \(x > \beta\).
- Parameters:
X (ArrayLike) – The input data points at which to evaluate the PDF.
- Returns:
The PDF values corresponding to each point in
X.- Return type:
NDArray[np.float64]