Abstract
Vector is a Python library for 2D, 3D, and Lorentz vectors, especially arrays of vectors, to solve common physics problems in a NumPy-like way. Vector can currently perform numerical computations, and through this paper, we introduce a new symbolic backend that extends Vector’s utility to theoretical physicists. The numerical backends of Vector enable users to create pure Python object, NumPy arrays, and Awkward arrays of vectors. The object and Awkward backends are also implemented in Numba to leverage Just-In-Time (JIT) compiled vector calculations. The new symbolic backend, built on top of SymPy expressions, showcases Vector’s ability to support far-flung cases and allows SymPy methods and functions to work on vector classes. Moreover, apart from a few software, high energy physics has maintained a strict separation between tools used by theorists and experimentalists, and Vector’s SymPy backend aims to bridge this gap, providing a unified computational framework for both communities.
| Original language | English (US) |
|---|---|
| Article number | 01240 |
| Journal | EPJ Web of Conferences |
| Volume | 337 |
| DOIs | |
| State | Published - Oct 7 2025 |
| Event | 27th International Conference on Computing in High Energy and Nuclear Physics, CHEP 2024 - Krakow, Poland Duration: Oct 19 2024 → Oct 25 2024 |
All Science Journal Classification (ASJC) codes
- General Physics and Astronomy
Fingerprint
Dive into the research topics of 'A new SymPy backend for Vector: uniting experimental and theoretical physicists'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver