Title: cppTPSA/pyTPSA: a C++/Python package for truncated power series algebra

Journal Article · · Journal of Open Source Software
ORCiD logo [1]
  1. Thomas Jefferson National Accelerator Facility (TJNAF), Newport News, VA (United States)

The truncated power series algebra (TPSA), also referred to as differential algebra (DA), is a well-established and widely used method in particle accelerator physics and astronomy. The most straightforward usage of TPSA/DA is to calculate the Taylor expansion of a given function at a specific point up to order ?. In recent years, as the application of TPSA/TA has been extended to other fields, a reusable implementation of TPSA/DA as a modern C++ library or other high level programming language like Python has become desirable. The cppTPSA package implements TPSA/DA in C++11 and provides developers a convenient library with which to build advanced TPSA/DA-based methods. A Python 3 library, pyTPSA, has also been developed based on the C++ lib.

Research Organization:
Thomas Jefferson National Accelerator Facility (TJNAF), Newport News, VA (United States)
Sponsoring Organization:
USDOE Office of Science (SC), Nuclear Physics (NP)
Grant/Contract Number:
AC05-06OR23177
OSTI ID:
2316152
Report Number(s):
DOE/OR/23177-5305; JLAB-ACP-21-3486
Journal Information:
Journal of Open Source Software, Journal Name: Journal of Open Source Software Journal Issue: 94 Vol. 9; ISSN 2475-9066
Publisher:
Open Source Initiative - NumFOCUSCopyright Statement
Country of Publication:
United States
Language:
English

References (9)

COSY INFINITY Version 9
  • Makino, Kyoko; Berz, Martin
  • Nuclear Instruments and Methods in Physics Research Section A: Accelerators, Spectrometers, Detectors and Associated Equipment, Vol. 558, Issue 1 https://doi.org/10.1016/j.nima.2005.11.109
journal March 2006
The fast multipole method in the differential algebra framework
  • Zhang, He; Berz, Martin
  • Nuclear Instruments and Methods in Physics Research Section A: Accelerators, Spectrometers, Detectors and Associated Equipment, Vol. 645, Issue 1 https://doi.org/10.1016/j.nima.2011.01.053
journal July 2011
Modern Map Methods in Particle Beam Physics book January 1999
Verified Integration of ODEs and Flows Using Differential Algebraic Methods on High-Order Taylor Models journal November 1998
High-order computation and normal form analysis of repetitive systems conference January 1992
Mad-X - an upgrade from mad8 conference January 2003
Lecture Notes on Topics in Accelerator Physics report November 2002
Differential Algebra software library with automatic code generation for space embedded applications conference January 2018
MethodicalAcceleratorDesign/MAD-X: 5.09.01 software December 2023

Similar Records

A C++ TPSA/DA Library with Python Wrapper
Conference · 2019 · OSTI ID:1973974

A Flexible Variable Truncated Power Series Algebra in Zlib
Conference · 2011 · Conf.Proc.C970512:2636,1997 · OSTI ID:1023266

SDA: a symbolic differential algebra package in C++
Journal Article · 2025 · Journal of Open Source Software · OSTI ID:2574899

Related Subjects