O'Reilly logo

Mastering SciPy by Francisco J. Blanco-Silva

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Integration

To achieve a definite integration of functions on suitable domains, we have mainly two methods—Numerical integration and Symbolic integration.

Numerical integration refers to the approximation of a definite integral by a quadrature process. Depending on how the function f(x) is given, the domain of integration, the knowledge of its singularities, and the choice of quadrature, we have different ways to attack this problem:

  • For univariate polynomials, exact integration is achieved algebraically on each finite interval
  • For functions given as a finite set of samples over their domain:
    • The composite trapezoidal rule
    • Simpson's trapezoidal rules
    • Romberg integration scheme
  • For generic univariate functions given as Python functions, on finite intervals: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required