-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: a sympy backend * support sympy.Symbol as coordinates * fix mypy errors * Fix lite tests * wrapper around lib * fix pylint error * implement copysign and sign * convert bare coords to sympy symbols * Add construction and conversion tests + fix minor bugs * fix lite tests * add more tests for conversion * add tests for operators * move things to one file * assign lib as an object of SympyLib * Add pi * style: pre-commit fixes * Add equality, non-equality, and conversion tests * fix lite tests * planar tests * fix deltaphi tests * Add a few spatial tests * Add beta, gamma, Et, and Et2 tests * More lorentz tests * Test spatial methods * evaluate the expressions numerically in planar tests + addition tests * Evaluate expressions in spatial tests * Numerical evaluation for more tests * More lorentz tests * test to_beta3 * common compute tests * More compute tests * spacelike and timelike sympy tests * Fix implementation of SympyLib.sign * Tests for scale * Better english * rm print statements * final set of tests + xfail a few tests on numpy 2 * fix numpy 2 version * a few tests work on numpy 2 * Add docs for the sympy backend * Update docstrings * Update src/vector/backends/sympy.py * rm redundant code * Update README.md Co-authored-by: Jim Pivarski <[email protected]> * Bump coverage value --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Jim Pivarski <[email protected]>
- Loading branch information
1 parent
a16da6d
commit 4fb4846
Showing
80 changed files
with
10,589 additions
and
378 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.