What are the limitations of Gauss quadratures? I know that if I'm integrating, for example, a data set a Gauss quadrature won't be the best option, but if I know the function analytically is there any big limitations? At WolframMathWorld says that for a know analytically function Gauss is always better than Newton-Cotes quadrature, is that always true even for more complex functions?
I was searching a lot in the last days. Since I mainly solve physical problems, I always know the analytical form of the function I'm integrating. At school, they focused more on Newton-Cotes formulas, but I think it's too slow. I tried Gauss-Legendre quadrature recently to integrate a function involving polynomials, exponential and some modified Bessel functions of second kind. I compared the results with some Newton-Cotes formulas and it seems nice, and a lot faster, but I still don't know if I can always trust on Gauss quadratures, especially for more complex functions, or is there going to be a time that it will big fail me?
And one more question, is there any advantage using a specific Gauss quadrature? Gauss-Laguerre for example, or am I going to get the same result with an integral limits change and using Gauss-Legendre quadrature?