You can't just integrate a vector. You have to have the ordinate values. They provide a scale, at the very least.
What means "one line"? The sheet I've posted has four integration functions, any of them can be evaluated in one line. It's just a question of what you consider to be your tools. Note that much of what is often considered to be a part of Mathematica is not really. It is in a variety of packages, mostly written in Mathematica itself, and which must be invoked to make their components available. Perhaps a way of better hiding what is done, but Mathcad has referenced worksheets and collapsed areas to serve the same purpose. I see little difference between a Mathcad built in function and one provided for in a more or less standard toolbox.
Yes, the topic has come up before. And the statement that Simpson's rule and the cubic spline are the same was made there, based on the erroneous assumption that since Simpson's rule is exact on a cubic, it will be exact on the cubic spline. But a cubic spline is not a cubic, and while Simpson's rule could be used to get an exact integral for the spline to do so requires using additional evaluation points, points halfway between the given data. Applied to the original data it is not the same as the cubic spline.
I also see no reason to seriously consider it. It is more restrictive (requiring an odd number of points, and, in most implementations, requiring uniform sampling, at the very least requiring pairs of equal intervals), less accurate, requires more code. What's to like about it? I could make a better case for the trapezoidal rule for some data.
__________________
� � � � Tom Gutman