pymgipsim.Probability.distributions.uniform_pdf

uniform_pdf(x, lower, upper)[source]

Calculate the probability density function (PDF) of a uniform distribution.

Parameters: - x: Values at which to evaluate the PDF. - lower: Lower bound of the uniform distribution. - upper: Upper bound of the uniform distribution.

Returns: - pdf_values: PDF values for the given ‘x’ within the specified bounds.