Vectorized Quadrature, Series Summation, Differentiation, Optimization, and Rootfinding in SciPy

Matt Haberland, Albert Steppi, Pamphile T. Roy · 2024

Until recently, SciPy's best options for scalar quadrature, minimization, and root finding called compiled code, which could not take advantage of a vectorized Python integrand, objective function, or residual function; SciPy offered no functions for accurate numerical differentiation or series summation. These gaps are being filled with a family of pure-Python, array API compatible functions for dramatically faster vectorized calculation of scalar integrals, infinite sums, derivatives, minimizers, and roots.

Read the paper · More papers on PaperTik