pub fn central_jacobian<F>( f: &'_ dyn Fn(&Vec<F>) -> Result<Vec<F>, Error>, ) -> impl Fn(&Vec<F>) -> Result<Vec<Vec<F>>, Error> + '_where F: Float + FromPrimitive,