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

He Zhang
{"title":"cppTPSA/pyTPSA: a C++/Python package for truncated\npower series algebra","authors":"He Zhang","doi":"10.21105/joss.04818","DOIUrl":null,"url":null,"abstract":"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.","PeriodicalId":503081,"journal":{"name":"Journal of Open Source Software","volume":"30 9","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-02-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Open Source Software","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.21105/joss.04818","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

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.
cppTPSA/pyTPSA:用于截断幂级数代数的 C++/Python 软件包
截断幂级数代数(TPSA),也称为微分代数(DA),是粒子加速器物理学和天文学中一种成熟且广泛使用的方法。TPSA/DA 最直接的用法是计算给定函数在特定点的𝑛阶泰勒展开。近年来,随着 TPSA/TA 的应用扩展到其他领域,TPSA/DA 作为现代 C++ 库或其他高级编程语言(如 Python)的可重用实现已变得非常必要。cppTPSA 软件包在 C++11 中实现了 TPSA/DA,为开发人员提供了一个方便的库,用于构建基于 TPSA/DA 的高级方法。基于 C++ 库还开发了 Python 3 库 pyTPSA。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信