Skip to main content

auc

Function auc 

Source
pub fn auc(x: &[f32], y: &[f32]) -> Result<f32, EvalError>
Expand description

Area under the curve using the trapezoidal rule.

x and y must have the same length and be sorted by x.