scipy.integrate.romb(y, dx=1.0, axis=-1, show=False)

Romberg integration using samples of a function.

Parameters :

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 : array_like?, 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.

Returns :

ret : array_like?

The integrated result for each axis.

Previous topic


Next topic


This Page