Romberg integration using samples of a function.
y : array_like
A vector of 2**k + 1 equally-spaced samples of a function.
dx : array_like, optional
The sample spacing. Default is 1.
axis : int, optional
The axis along which to integrate. Default is -1 (last axis).
show : bool, optional
When y is a single 1-D array, then if this argument is True print the table showing Richardson extrapolation from the samples. Default is False.
romb : ndarray
The integrated result for axis.
See also
scipy.integrate.simps
scipy.integrate.odeint
Enter search terms or a module, class or function name.