pub fn auc(x: &[f32], y: &[f32]) -> Result<f32, EvalError>
Area under the curve using the trapezoidal rule.
x and y must have the same length and be sorted by x.
x
y