Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering SciPy

You're reading from   Mastering SciPy Implement state-of-the-art techniques to visualize solutions to challenging problems in scientific computing, with the use of the SciPy stack

Arrow left icon
Product type Paperback
Published in Nov 2015
Publisher
ISBN-13 9781783984749
Length 404 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Authors (2):
Arrow left icon
Francisco Javier Blanco-Silva Francisco Javier Blanco-Silva
Author Profile Icon Francisco Javier Blanco-Silva
Francisco Javier Blanco-Silva
Francisco Javier B Silva Francisco Javier B Silva
Author Profile Icon Francisco Javier B Silva
Francisco Javier B Silva
Arrow right icon
View More author details
Toc

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:
    • Fixed-order Gaussian quadrature
    • Fixed-tolerance Gaussian quadrature
    • Simple non-adaptive quadrature, by applying 21-, 43- and 87-point Gauss-Kronron rules
    • Simple adaptive quadrature, by subdivision and quadrature on each subinterval...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime