A full-featured interface package to the Generalised Truncated Power Series Algebra (GTPSA) library in MAD-NG has been implemented in the Julia programming language. GTPSA performs fast Taylor-mode automatic differentiation (AD) of functions to arbitrary orders in the specified variables and parameters. In particular, GTPSA excels at computing derivatives to high orders (>1) and high numbers of variables/parameters, making it an extremely powerful tool for use in optimization and in computing parametric Taylor maps. This Julia interface offers another simple way of using the GTPSA library, and will be used extensively in the SciBmad accelerator physics software ecosystem. The interface can also be easily called from Python, via the juliacall package. In this paper, we showcase features implemented in the interface package including performance enhancements, and present an example of integrating a GTPSA map using polymorphic integrators already implemented in Julia.
Building similarity graph...
Analyzing shared references across papers
Loading...
Signorelli et al. (Thu,) studied this question.
www.synapsesocial.com/papers/6980fbe1c1c9540dea80da3e — DOI: https://doi.org/10.18429/jacow-napac2025-mop044
Matthew Signorelli
Laurent Deniau
D. Sagan
Building similarity graph...
Analyzing shared references across papers
Loading...