uvex_transients.models.core.priors.NormalPrior.cdf#
- NormalPrior.cdf(x: NDArray[float64]) NDArray[float64] | float#
Evaluate the cumulative distribution function.
Computed by numerically integrating
pdf()from the lower edge ofsupportup to each point inx(scipy.integrate.quad()). This is intended for introspection/diagnostics (e.g. plotting); it is not used bysample(), which relies onNumericalInversePolynomialinstead.- Parameters:
x (
array_like) – Points at which to evaluate the CDF.- Returns:
The CDF at each point in
x. Returns a scalar if input was a scalar, otherwise returns an array with the same shape as the input.- Return type: