powered by
Trapezoid Rule Numerical Integration using Rcpp
trapzRcpp(X, Y)
Sorted vector of X values
Vector of Y values.