Algorithmic differentiation in Python with AlgoPy. Many programs for scientific computing in Python are based on NumPy and therefore make heavy use of numerical linear algebra (NLA) functions, vectorized operations, slicing and broadcasting. AlgoPy provides the means to compute derivatives of arbitrary order and Taylor approximations of such programs. The approach is based on a combination of univariate Taylor polynomial arithmetic and matrix calculus in the (combined) forward/reverse mode of Algorithmic Differentiation (AD). In contrast to existing AD tools, vectorized operations and NLA functions are not considered to be a sequence of scalar elementary functions. Instead, dedicated algorithms for the matrix product, matrix inverse and the Cholesky, QR, and symmetric eigenvalue decomposition are implemented in AlgoPy. We discuss the reasons for this alternative approach and explain the underlying idea. Examples illustrate how AlgoPy can be used from a user’s point of view.
Keywords for this software
References in zbMATH (referenced in 3 articles )
Showing results 1 to 3 of 3.
- Birk, Lothar; McCulloch, T.Luke: Robust generation of constrained B-spline curves based on automatic differentiation and fairness optimization (2018)
- Estévez Schwarz, Diana; Lamour, René: A new projector based decoupling of linear DAEs for monitoring singularities (2016)
- Estévez Schwarz, Diana; Lamour, René: Diagnosis of singular points of properly stated DAEs using automatic differentiation (2015)