pub trait IntegrandFunction { // Required method fn evaluate(&self, x: f64) -> f64; }
Integrand function trait for Simpson’s integrator
Evaluate function at point x