Function peroxide::checked_beta

source ·
pub fn checked_beta(a: f64, b: f64) -> Result<f64, StatsError>
Expand description

Computes the beta function where a is the first beta parameter and b is the second beta parameter.

Errors

if a <= 0.0 or b <= 0.0