Romberg integration using samples of a function
Inputs:
y - a vector of 2**k + 1 equally-spaced samples of a fucntion dx - the sample spacing. axis - the axis along which to integrate show - When y is a single 1-d array, then if this argument is True
print the table showing Richardson extrapolation from the samples.
Output: ret
ret - The integrated result for each axis.
See also:
quad - adaptive quadrature using QUADPACK romberg - adaptive Romberg quadrature quadrature - adaptive Gaussian quadrature fixed_quad - fixed-order Gaussian quadrature dblquad, tplquad - double and triple integrals simps, trapz - integrators for sampled data cumtrapz - cumulative integration for sampled data ode, odeint - ODE integrators