pub fn batch_pdf_eval(
data: Vec<f64>,
distribution: &str,
params: Vec<f64>,
) -> PyResult<Vec<f64>>Expand description
Evaluate the PDF of a named distribution at each data point.
Supported distributions: “normal”, “exponential”, “uniform”, “gamma”, “beta”
Parameters: data: Points at which to evaluate the PDF distribution: Distribution name (e.g., “normal”) params: Distribution parameters - normal: [mu, sigma] - exponential: [lambda] (rate = 1/scale) - uniform: [low, high] - gamma: [shape, scale] - beta: [alpha, beta_param]
Returns:
Vec