Welcome to Integrate’s documentation!

This is a small library that does basic Newton-cotes and MC integrations

integrate.newton_cotes.simpson.evaluate(bounds, func)

Evaluates simpsons rules on an array of values and a function pointer.

\[\int_{a}^{b} = \sum_i ...\]
Parameters:
  • bounds (array_like) – An array with a dimension of two that contains the starting and ending points of the integrand.
  • func (function) – Evalute the integrand at a series of points.
Returns:

integral – The integral of the function between the bounds.

Return type:

float

Indices and tables