vector 1.4.2__tar.gz → 1.4.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {vector-1.4.2 → vector-1.4.3}/PKG-INFO +2 -2
- {vector-1.4.2 → vector-1.4.3}/docs/changelog.md +12 -4
- {vector-1.4.2 → vector-1.4.3}/pyproject.toml +1 -1
- {vector-1.4.2 → vector-1.4.3}/src/vector/_version.py +2 -2
- {vector-1.4.2 → vector-1.4.3}/src/vector/backends/numpy.py +20 -20
- {vector-1.4.2 → vector-1.4.3}/src/vector/backends/object.py +18 -18
- {vector-1.4.2 → vector-1.4.3}/src/vector/backends/sympy.py +18 -18
- {vector-1.4.2 → vector-1.4.3}/.all-contributorsrc +0 -0
- {vector-1.4.2 → vector-1.4.3}/.git_archival.txt +0 -0
- {vector-1.4.2 → vector-1.4.3}/.gitattributes +0 -0
- {vector-1.4.2 → vector-1.4.3}/.github/CONTRIBUTING.md +0 -0
- {vector-1.4.2 → vector-1.4.3}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
- {vector-1.4.2 → vector-1.4.3}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {vector-1.4.2 → vector-1.4.3}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
- {vector-1.4.2 → vector-1.4.3}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {vector-1.4.2 → vector-1.4.3}/.github/codecov.yml +0 -0
- {vector-1.4.2 → vector-1.4.3}/.github/dependabot.yml +0 -0
- {vector-1.4.2 → vector-1.4.3}/.github/matchers/pylint.json +0 -0
- {vector-1.4.2 → vector-1.4.3}/.github/workflows/cd.yml +0 -0
- {vector-1.4.2 → vector-1.4.3}/.github/workflows/ci.yml +0 -0
- {vector-1.4.2 → vector-1.4.3}/.github/workflows/notebooks.yml +0 -0
- {vector-1.4.2 → vector-1.4.3}/.gitignore +0 -0
- {vector-1.4.2 → vector-1.4.3}/.pre-commit-config.yaml +0 -0
- {vector-1.4.2 → vector-1.4.3}/.readthedocs.yml +0 -0
- {vector-1.4.2 → vector-1.4.3}/CITATION.cff +0 -0
- {vector-1.4.2 → vector-1.4.3}/LICENSE +0 -0
- {vector-1.4.2 → vector-1.4.3}/README.md +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/Makefile +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/_images/LogoSrc.svg +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/_images/vector-logo.png +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/backends/vector.backends._numba.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/backends/vector.backends._numba_object.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/backends/vector.backends.awkward.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/backends/vector.backends.awkward_constructors.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/backends/vector.backends.numba_numpy.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/backends/vector.backends.numpy.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/backends/vector.backends.object.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/backends/vector.backends.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.Et.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.Et2.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.Mt.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.Mt2.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.add.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.beta.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.boostX_beta.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.boostX_gamma.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.boostY_beta.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.boostY_gamma.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.boostZ_beta.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.boostZ_gamma.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.boost_beta3.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.boost_p4.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.deltaRapidityPhi.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.deltaRapidityPhi2.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.dot.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.equal.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.gamma.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.is_lightlike.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.is_spacelike.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.is_timelike.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.isclose.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.not_equal.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.rapidity.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.scale.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.subtract.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.t.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.t2.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.tau.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.tau2.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.to_beta3.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.transform4D.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.unit.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/planar/vector._compute.planar.add.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/planar/vector._compute.planar.deltaphi.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/planar/vector._compute.planar.dot.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/planar/vector._compute.planar.equal.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/planar/vector._compute.planar.is_antiparallel.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/planar/vector._compute.planar.is_parallel.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/planar/vector._compute.planar.is_perpendicular.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/planar/vector._compute.planar.isclose.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/planar/vector._compute.planar.not_equal.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/planar/vector._compute.planar.phi.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/planar/vector._compute.planar.rho.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/planar/vector._compute.planar.rho2.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/planar/vector._compute.planar.rotateZ.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/planar/vector._compute.planar.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/planar/vector._compute.planar.scale.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/planar/vector._compute.planar.subtract.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/planar/vector._compute.planar.transform2D.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/planar/vector._compute.planar.unit.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/planar/vector._compute.planar.x.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/planar/vector._compute.planar.y.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/spatial/vector._compute.spatial.add.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/spatial/vector._compute.spatial.costheta.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/spatial/vector._compute.spatial.cottheta.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/spatial/vector._compute.spatial.cross.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/spatial/vector._compute.spatial.deltaR.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/spatial/vector._compute.spatial.deltaR2.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/spatial/vector._compute.spatial.deltaangle.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/spatial/vector._compute.spatial.deltaeta.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/spatial/vector._compute.spatial.dot.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/spatial/vector._compute.spatial.equal.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/spatial/vector._compute.spatial.eta.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/spatial/vector._compute.spatial.is_antiparallel.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/spatial/vector._compute.spatial.is_parallel.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/spatial/vector._compute.spatial.is_perpendicular.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/spatial/vector._compute.spatial.isclose.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/spatial/vector._compute.spatial.mag.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/spatial/vector._compute.spatial.mag2.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/spatial/vector._compute.spatial.not_equal.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/spatial/vector._compute.spatial.rotateX.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/spatial/vector._compute.spatial.rotateY.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/spatial/vector._compute.spatial.rotate_axis.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/spatial/vector._compute.spatial.rotate_euler.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/spatial/vector._compute.spatial.rotate_quaternion.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/spatial/vector._compute.spatial.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/spatial/vector._compute.spatial.scale.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/spatial/vector._compute.spatial.subtract.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/spatial/vector._compute.spatial.theta.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/spatial/vector._compute.spatial.transform3D.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/spatial/vector._compute.spatial.unit.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/spatial/vector._compute.spatial.z.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/compute/vector._compute.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/inheritance.svg +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/modules.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/vector._methods.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/vector._typeutils.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/api/vector.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/conf.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/index.rst +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/make.bat +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/usage/intro.ipynb +0 -0
- {vector-1.4.2 → vector-1.4.3}/docs/usage/structure.md +0 -0
- {vector-1.4.2 → vector-1.4.3}/environment.yml +0 -0
- {vector-1.4.2 → vector-1.4.3}/noxfile.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/__init__.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/__init__.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/lorentz/Et.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/lorentz/Et2.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/lorentz/Mt.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/lorentz/Mt2.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/lorentz/__init__.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/lorentz/add.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/lorentz/beta.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/lorentz/boostX_beta.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/lorentz/boostX_gamma.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/lorentz/boostY_beta.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/lorentz/boostY_gamma.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/lorentz/boostZ_beta.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/lorentz/boostZ_gamma.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/lorentz/boost_beta3.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/lorentz/boost_p4.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/lorentz/deltaRapidityPhi.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/lorentz/deltaRapidityPhi2.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/lorentz/dot.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/lorentz/equal.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/lorentz/gamma.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/lorentz/is_lightlike.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/lorentz/is_spacelike.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/lorentz/is_timelike.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/lorentz/isclose.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/lorentz/not_equal.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/lorentz/rapidity.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/lorentz/scale.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/lorentz/subtract.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/lorentz/t.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/lorentz/t2.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/lorentz/tau.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/lorentz/tau2.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/lorentz/to_beta3.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/lorentz/transform4D.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/lorentz/unit.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/planar/__init__.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/planar/add.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/planar/deltaphi.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/planar/dot.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/planar/equal.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/planar/is_antiparallel.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/planar/is_parallel.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/planar/is_perpendicular.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/planar/isclose.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/planar/not_equal.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/planar/phi.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/planar/rho.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/planar/rho2.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/planar/rotateZ.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/planar/scale.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/planar/subtract.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/planar/transform2D.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/planar/unit.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/planar/x.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/planar/y.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/spatial/__init__.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/spatial/add.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/spatial/costheta.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/spatial/cottheta.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/spatial/cross.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/spatial/deltaR.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/spatial/deltaR2.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/spatial/deltaangle.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/spatial/deltaeta.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/spatial/dot.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/spatial/equal.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/spatial/eta.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/spatial/is_antiparallel.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/spatial/is_parallel.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/spatial/is_perpendicular.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/spatial/isclose.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/spatial/mag.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/spatial/mag2.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/spatial/not_equal.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/spatial/rotateX.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/spatial/rotateY.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/spatial/rotate_axis.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/spatial/rotate_euler.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/spatial/rotate_quaternion.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/spatial/scale.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/spatial/subtract.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/spatial/theta.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/spatial/transform3D.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/spatial/unit.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_compute/spatial/z.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_lib.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_methods.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/_typeutils.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/backends/__init__.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/backends/_numba.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/backends/_numba_object.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/backends/awkward.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/backends/awkward_constructors.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/backends/numba_numpy.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/py.typed +0 -0
- {vector-1.4.2 → vector-1.4.3}/src/vector/version.pyi +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/__init__.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/backends/__init__.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/backends/test_awkward.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/backends/test_awkward_numba.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/backends/test_dask_awkward.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/backends/test_numba_numpy.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/backends/test_numba_object.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/backends/test_numpy.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/backends/test_object.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/backends/test_operators.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/backends/test_sympy.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/__init__.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/lorentz/__init__.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/lorentz/test_Et.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/lorentz/test_Et2.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/lorentz/test_Mt.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/lorentz/test_Mt2.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/lorentz/test_beta.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/lorentz/test_boostX_beta.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/lorentz/test_boostX_gamma.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/lorentz/test_boostY_beta.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/lorentz/test_boostY_gamma.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/lorentz/test_boostZ_beta.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/lorentz/test_boostZ_gamma.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/lorentz/test_boost_beta3.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/lorentz/test_boost_p4.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/lorentz/test_deltaRapidityPhi.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/lorentz/test_deltaRapidityPhi2.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/lorentz/test_gamma.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/lorentz/test_is_lightlike.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/lorentz/test_is_spacelike.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/lorentz/test_is_timelike.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/lorentz/test_rapidity.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/lorentz/test_t.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/lorentz/test_t2.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/lorentz/test_tau.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/lorentz/test_tau2.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/lorentz/test_to_beta3.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/planar/__init__.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/planar/test_deltaphi.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/planar/test_phi.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/planar/test_rho.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/planar/test_rho2.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/planar/test_rotateZ.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/planar/test_x.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/planar/test_y.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/spatial/__init__.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/spatial/test_costheta.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/spatial/test_cottheta.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/spatial/test_cross.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/spatial/test_deltaR.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/spatial/test_deltaR2.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/spatial/test_deltaangle.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/spatial/test_deltaeta.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/spatial/test_eta.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/spatial/test_mag.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/spatial/test_mag2.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/spatial/test_rotateX.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/spatial/test_rotateY.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/spatial/test_rotate_axis.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/spatial/test_rotate_euler.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/spatial/test_rotate_quaternion.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/spatial/test_theta.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/spatial/test_z.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/lorentz/__init__.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/lorentz/test_Et.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/lorentz/test_Et2.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/lorentz/test_Mt.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/lorentz/test_Mt2.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/lorentz/test_beta.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/lorentz/test_boostX_beta.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/lorentz/test_boostX_gamma.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/lorentz/test_boostY_beta.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/lorentz/test_boostY_gamma.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/lorentz/test_boostZ_beta.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/lorentz/test_boostZ_gamma.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/lorentz/test_boost_beta3.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/lorentz/test_boost_p4.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/lorentz/test_deltaRapidityPhi.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/lorentz/test_deltaRapidityPhi2.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/lorentz/test_gamma.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/lorentz/test_is_lightlike.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/lorentz/test_is_spacelike.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/lorentz/test_is_timelike.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/lorentz/test_rapidity.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/lorentz/test_t.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/lorentz/test_t2.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/lorentz/test_tau.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/lorentz/test_tau2.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/lorentz/test_to_beta3.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/planar/__init__.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/planar/test_deltaphi.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/planar/test_phi.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/planar/test_rho.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/planar/test_rho2.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/planar/test_rotateZ.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/planar/test_x.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/planar/test_y.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/spatial/__init__.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/spatial/test_costheta.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/spatial/test_cottheta.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/spatial/test_cross.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/spatial/test_deltaR.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/spatial/test_deltaR2.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/spatial/test_deltaangle.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/spatial/test_deltaeta.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/spatial/test_eta.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/spatial/test_mag.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/spatial/test_mag2.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/spatial/test_rotateX.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/spatial/test_rotateY.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/spatial/test_rotate_axis.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/spatial/test_rotate_euler.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/spatial/test_rotate_quaternion.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/spatial/test_theta.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/spatial/test_z.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/test_add.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/test_conversions.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/test_dot.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/test_equal.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/test_is_antiparallel.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/test_is_parallel.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/test_is_perpendicular.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/test_not_equal.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/test_scale.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/test_subtract.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/sympy/test_unit.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/test_add.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/test_conversions.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/test_dot.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/test_equal.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/test_is_antiparallel.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/test_is_parallel.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/test_is_perpendicular.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/test_isclose.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/test_not_equal.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/test_scale.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/test_subtract.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/compute/test_unit.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/samples/issue-161-v2.pkl +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/samples/issue-161.pkl +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/test_compute_features.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/test_issues.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/test_methods.py +0 -0
- {vector-1.4.2 → vector-1.4.3}/tests/test_notebooks.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: vector
|
|
3
|
-
Version: 1.4.
|
|
3
|
+
Version: 1.4.3
|
|
4
4
|
Summary: Vector classes and utilities
|
|
5
5
|
Project-URL: Bug Tracker, https://github.com/scikit-hep/vector/issues
|
|
6
6
|
Project-URL: Changelog, https://vector.readthedocs.io/en/latest/changelog.html
|
|
@@ -29,7 +29,7 @@ Classifier: Topic :: Scientific/Engineering :: Mathematics
|
|
|
29
29
|
Classifier: Topic :: Scientific/Engineering :: Physics
|
|
30
30
|
Classifier: Typing :: Typed
|
|
31
31
|
Requires-Python: >=3.8
|
|
32
|
-
Requires-Dist: numpy
|
|
32
|
+
Requires-Dist: numpy>=1.13.3
|
|
33
33
|
Requires-Dist: packaging>=19
|
|
34
34
|
Provides-Extra: awkward
|
|
35
35
|
Requires-Dist: awkward>=1.2; extra == 'awkward'
|
|
@@ -2,17 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
## Version 1.4
|
|
4
4
|
|
|
5
|
+
### Version 1.4.3
|
|
6
|
+
|
|
7
|
+
#### Fixes
|
|
8
|
+
|
|
9
|
+
- fix: uncap numpy [#502][]
|
|
10
|
+
|
|
11
|
+
[#502]: https://github.com/scikit-hep/vector/pull/502
|
|
12
|
+
|
|
5
13
|
### Version 1.4.2
|
|
6
14
|
|
|
7
15
|
#### Fixes
|
|
8
16
|
|
|
9
|
-
- fix: depend on numpy<2.1 to support numba
|
|
10
|
-
- fix: fix ci for awkward v1.x (numpy v2 is out)
|
|
11
|
-
- fix: sympy tests (sympy v1.13)
|
|
17
|
+
- fix: depend on numpy<2.1 to support numba [#476][]
|
|
18
|
+
- fix: fix ci for awkward v1.x (numpy v2 is out) [#479][]
|
|
19
|
+
- fix: sympy tests (sympy v1.13) [#485][]
|
|
12
20
|
|
|
13
21
|
#### Documentation
|
|
14
22
|
|
|
15
|
-
- docs: update intro notebook + readme
|
|
23
|
+
- docs: update intro notebook + readme [#489][]
|
|
16
24
|
|
|
17
25
|
[#476]: https://github.com/scikit-hep/vector/pull/476
|
|
18
26
|
[#479]: https://github.com/scikit-hep/vector/pull/479
|
|
@@ -215,38 +215,38 @@ def _getitem(
|
|
|
215
215
|
)
|
|
216
216
|
if hasattr(array, "_longitudinal_type"):
|
|
217
217
|
longitudinal = array._longitudinal_type.ObjectClass(
|
|
218
|
-
*(out[x] for x in _coordinate_class_to_names[_ltype(array)])
|
|
218
|
+
*(out[x] for x in _coordinate_class_to_names[_ltype(array)])
|
|
219
219
|
)
|
|
220
220
|
if hasattr(array, "_temporal_type"):
|
|
221
221
|
temporal = array._temporal_type.ObjectClass(
|
|
222
|
-
*(out[x] for x in _coordinate_class_to_names[_ttype(array)])
|
|
222
|
+
*(out[x] for x in _coordinate_class_to_names[_ttype(array)])
|
|
223
223
|
)
|
|
224
224
|
if temporal is not None:
|
|
225
225
|
return array.ObjectClass(
|
|
226
226
|
azimuthal=azimuthal,
|
|
227
|
-
longitudinal=longitudinal, # type: ignore[arg-type
|
|
227
|
+
longitudinal=longitudinal, # type: ignore[arg-type]
|
|
228
228
|
temporal=temporal, # type: ignore[arg-type]
|
|
229
229
|
)
|
|
230
230
|
elif longitudinal is not None:
|
|
231
|
-
return array.ObjectClass(azimuthal=azimuthal, longitudinal=longitudinal) # type: ignore[arg-type
|
|
231
|
+
return array.ObjectClass(azimuthal=azimuthal, longitudinal=longitudinal) # type: ignore[arg-type]
|
|
232
232
|
elif azimuthal is not None:
|
|
233
|
-
return array.ObjectClass(azimuthal=azimuthal)
|
|
233
|
+
return array.ObjectClass(azimuthal=azimuthal)
|
|
234
234
|
elif issubclass(array.ObjectClass, vector.backends.object.AzimuthalObject):
|
|
235
|
-
return array.ObjectClass(*tuple(out)[:2]) # type: ignore[arg-type
|
|
235
|
+
return array.ObjectClass(*tuple(out)[:2]) # type: ignore[arg-type]
|
|
236
236
|
elif issubclass(array.ObjectClass, vector.backends.object.LongitudinalObject):
|
|
237
237
|
coords = (
|
|
238
238
|
out.view(numpy.ndarray)[0]
|
|
239
239
|
if len(out) == 1 # type: ignore[arg-type]
|
|
240
240
|
else out.view(numpy.ndarray)[2]
|
|
241
241
|
)
|
|
242
|
-
return array.ObjectClass(coords)
|
|
242
|
+
return array.ObjectClass(coords)
|
|
243
243
|
else:
|
|
244
244
|
coords = (
|
|
245
245
|
out.view(numpy.ndarray)[0]
|
|
246
246
|
if len(out) == 1 # type: ignore[arg-type]
|
|
247
247
|
else out.view(numpy.ndarray)[3]
|
|
248
248
|
)
|
|
249
|
-
return array.ObjectClass(coords)
|
|
249
|
+
return array.ObjectClass(coords)
|
|
250
250
|
|
|
251
251
|
|
|
252
252
|
def _array_repr(
|
|
@@ -879,14 +879,14 @@ class VectorNumpy(Vector, GetItem):
|
|
|
879
879
|
keepdims=keepdims,
|
|
880
880
|
initial=initial,
|
|
881
881
|
where=where,
|
|
882
|
-
),
|
|
882
|
+
),
|
|
883
883
|
)
|
|
884
884
|
|
|
885
885
|
def __eq__(self, other: typing.Any) -> typing.Any:
|
|
886
|
-
return numpy.equal(self, other)
|
|
886
|
+
return numpy.equal(self, other)
|
|
887
887
|
|
|
888
888
|
def __ne__(self, other: typing.Any) -> typing.Any:
|
|
889
|
-
return numpy.not_equal(self, other)
|
|
889
|
+
return numpy.not_equal(self, other)
|
|
890
890
|
|
|
891
891
|
def __reduce__(self) -> str | tuple[typing.Any, ...]:
|
|
892
892
|
pickled_state = super().__reduce__()
|
|
@@ -1197,7 +1197,7 @@ class VectorNumpy2D(VectorNumpy, Planar, Vector2D, FloatArray): # type: ignore[
|
|
|
1197
1197
|
AzimuthalNumpyXY([(1.1, 2.1), (1.2, 2.2), (1.3, 2.3), (1.4, 2.4),
|
|
1198
1198
|
(1.5, 2.5)], dtype=[('x', '<f8'), ('y', '<f8')])
|
|
1199
1199
|
"""
|
|
1200
|
-
return self.view(self._azimuthal_type)
|
|
1200
|
+
return self.view(self._azimuthal_type)
|
|
1201
1201
|
|
|
1202
1202
|
def _wrap_result(
|
|
1203
1203
|
self,
|
|
@@ -1305,7 +1305,7 @@ class VectorNumpy2D(VectorNumpy, Planar, Vector2D, FloatArray): # type: ignore[
|
|
|
1305
1305
|
return _setitem(self, where, what, False)
|
|
1306
1306
|
|
|
1307
1307
|
|
|
1308
|
-
class MomentumNumpy2D(PlanarMomentum, VectorNumpy2D):
|
|
1308
|
+
class MomentumNumpy2D(PlanarMomentum, VectorNumpy2D):
|
|
1309
1309
|
"""
|
|
1310
1310
|
Two dimensional momentum vector class for the NumPy backend. This class can be directly
|
|
1311
1311
|
used to construct two dimensional NumPy momentum vectors. For two dimensional
|
|
@@ -1427,13 +1427,13 @@ class VectorNumpy3D(VectorNumpy, Spatial, Vector3D, FloatArray): # type: ignore
|
|
|
1427
1427
|
def azimuthal(self) -> AzimuthalNumpy:
|
|
1428
1428
|
"""Returns the azimuthal type class for the given ``VectorNumpy3D`` object."""
|
|
1429
1429
|
# TODO: Add an example here - see https://github.com/scikit-hep/vector/issues/194
|
|
1430
|
-
return self.view(self._azimuthal_type)
|
|
1430
|
+
return self.view(self._azimuthal_type)
|
|
1431
1431
|
|
|
1432
1432
|
@property
|
|
1433
1433
|
def longitudinal(self) -> LongitudinalNumpy:
|
|
1434
1434
|
"""Returns the longitudinal type class for the given ``VectorNumpy3D`` object."""
|
|
1435
1435
|
# TODO: Add an example here - see https://github.com/scikit-hep/vector/issues/194
|
|
1436
|
-
return self.view(self._longitudinal_type)
|
|
1436
|
+
return self.view(self._longitudinal_type)
|
|
1437
1437
|
|
|
1438
1438
|
def _wrap_result(
|
|
1439
1439
|
self,
|
|
@@ -1562,7 +1562,7 @@ class VectorNumpy3D(VectorNumpy, Spatial, Vector3D, FloatArray): # type: ignore
|
|
|
1562
1562
|
return _setitem(self, where, what, False)
|
|
1563
1563
|
|
|
1564
1564
|
|
|
1565
|
-
class MomentumNumpy3D(SpatialMomentum, VectorNumpy3D):
|
|
1565
|
+
class MomentumNumpy3D(SpatialMomentum, VectorNumpy3D):
|
|
1566
1566
|
"""
|
|
1567
1567
|
Three dimensional momentum vector class for the NumPy backend. This class can be directly
|
|
1568
1568
|
used to construct three dimensional NumPy momentum vectors. For three dimensional
|
|
@@ -1707,19 +1707,19 @@ class VectorNumpy4D(VectorNumpy, Lorentz, Vector4D, FloatArray): # type: ignore
|
|
|
1707
1707
|
def azimuthal(self) -> AzimuthalNumpy:
|
|
1708
1708
|
"""Returns the azimuthal type class for the given ``VectorNumpy4D`` object."""
|
|
1709
1709
|
# TODO: Add an example here - see https://github.com/scikit-hep/vector/issues/194
|
|
1710
|
-
return self.view(self._azimuthal_type)
|
|
1710
|
+
return self.view(self._azimuthal_type)
|
|
1711
1711
|
|
|
1712
1712
|
@property
|
|
1713
1713
|
def longitudinal(self) -> LongitudinalNumpy:
|
|
1714
1714
|
"""Returns the longitudinal type class for the given ``Vectornumpy4D`` object."""
|
|
1715
1715
|
# TODO: Add an example here - see https://github.com/scikit-hep/vector/issues/194
|
|
1716
|
-
return self.view(self._longitudinal_type)
|
|
1716
|
+
return self.view(self._longitudinal_type)
|
|
1717
1717
|
|
|
1718
1718
|
@property
|
|
1719
1719
|
def temporal(self) -> TemporalNumpy:
|
|
1720
1720
|
"""Returns the azimuthal type class for the given ``VectorNumpy4D`` object."""
|
|
1721
1721
|
# TODO: Add an example here - see https://github.com/scikit-hep/vector/issues/194
|
|
1722
|
-
return self.view(self._temporal_type)
|
|
1722
|
+
return self.view(self._temporal_type)
|
|
1723
1723
|
|
|
1724
1724
|
def _wrap_result(
|
|
1725
1725
|
self,
|
|
@@ -1882,7 +1882,7 @@ class VectorNumpy4D(VectorNumpy, Lorentz, Vector4D, FloatArray): # type: ignore
|
|
|
1882
1882
|
return _setitem(self, where, what, False)
|
|
1883
1883
|
|
|
1884
1884
|
|
|
1885
|
-
class MomentumNumpy4D(LorentzMomentum, VectorNumpy4D):
|
|
1885
|
+
class MomentumNumpy4D(LorentzMomentum, VectorNumpy4D):
|
|
1886
1886
|
"""
|
|
1887
1887
|
Four dimensional momentum vector class for the NumPy backend. This class can be directly
|
|
1888
1888
|
used to construct four dimensional NumPy momentum vectors. For three dimensional
|
|
@@ -332,61 +332,61 @@ class VectorObject(Vector):
|
|
|
332
332
|
lib = numpy
|
|
333
333
|
|
|
334
334
|
def __eq__(self, other: typing.Any) -> typing.Any:
|
|
335
|
-
return numpy.equal(self, other)
|
|
335
|
+
return numpy.equal(self, other)
|
|
336
336
|
|
|
337
337
|
def __ne__(self, other: typing.Any) -> typing.Any:
|
|
338
|
-
return numpy.not_equal(self, other)
|
|
338
|
+
return numpy.not_equal(self, other)
|
|
339
339
|
|
|
340
340
|
def __abs__(self) -> float:
|
|
341
341
|
return numpy.absolute(self)
|
|
342
342
|
|
|
343
343
|
def __add__(self, other: VectorProtocol) -> VectorProtocol:
|
|
344
|
-
return numpy.add(self, other)
|
|
344
|
+
return numpy.add(self, other)
|
|
345
345
|
|
|
346
346
|
def __radd__(self, other: VectorProtocol) -> VectorProtocol:
|
|
347
|
-
return numpy.add(other, self)
|
|
347
|
+
return numpy.add(other, self)
|
|
348
348
|
|
|
349
349
|
def __iadd__(self: SameVectorType, other: VectorProtocol) -> SameVectorType:
|
|
350
|
-
return _replace_data(self, numpy.add(self, other))
|
|
350
|
+
return _replace_data(self, numpy.add(self, other))
|
|
351
351
|
|
|
352
352
|
def __sub__(self, other: VectorProtocol) -> VectorProtocol:
|
|
353
|
-
return numpy.subtract(self, other)
|
|
353
|
+
return numpy.subtract(self, other)
|
|
354
354
|
|
|
355
355
|
def __rsub__(self, other: VectorProtocol) -> VectorProtocol:
|
|
356
|
-
return numpy.subtract(other, self)
|
|
356
|
+
return numpy.subtract(other, self)
|
|
357
357
|
|
|
358
358
|
def __isub__(self: SameVectorType, other: VectorProtocol) -> SameVectorType:
|
|
359
|
-
return _replace_data(self, numpy.subtract(self, other))
|
|
359
|
+
return _replace_data(self, numpy.subtract(self, other))
|
|
360
360
|
|
|
361
361
|
def __mul__(self, other: float) -> VectorProtocol:
|
|
362
|
-
return numpy.multiply(self, other)
|
|
362
|
+
return numpy.multiply(self, other)
|
|
363
363
|
|
|
364
364
|
def __rmul__(self, other: float) -> VectorProtocol:
|
|
365
|
-
return numpy.multiply(other, self)
|
|
365
|
+
return numpy.multiply(other, self)
|
|
366
366
|
|
|
367
367
|
def __imul__(self: SameVectorType, other: float) -> SameVectorType:
|
|
368
|
-
return _replace_data(self, numpy.multiply(self, other))
|
|
368
|
+
return _replace_data(self, numpy.multiply(self, other))
|
|
369
369
|
|
|
370
370
|
def __neg__(self: SameVectorType) -> SameVectorType:
|
|
371
|
-
return numpy.negative(self)
|
|
371
|
+
return numpy.negative(self)
|
|
372
372
|
|
|
373
373
|
def __pos__(self: SameVectorType) -> SameVectorType:
|
|
374
|
-
return numpy.positive(self)
|
|
374
|
+
return numpy.positive(self)
|
|
375
375
|
|
|
376
376
|
def __truediv__(self, other: float) -> VectorProtocol:
|
|
377
|
-
return numpy.true_divide(self, other)
|
|
377
|
+
return numpy.true_divide(self, other)
|
|
378
378
|
|
|
379
379
|
def __rtruediv__(self, other: float) -> VectorProtocol:
|
|
380
|
-
return numpy.true_divide(other, self)
|
|
380
|
+
return numpy.true_divide(other, self)
|
|
381
381
|
|
|
382
382
|
def __itruediv__(self: SameVectorType, other: float) -> VectorProtocol:
|
|
383
|
-
return _replace_data(self, numpy.true_divide(self, other))
|
|
383
|
+
return _replace_data(self, numpy.true_divide(self, other))
|
|
384
384
|
|
|
385
385
|
def __pow__(self, other: float) -> float:
|
|
386
|
-
return numpy.square(self) if other == 2 else numpy.power(self, other)
|
|
386
|
+
return numpy.square(self) if other == 2 else numpy.power(self, other)
|
|
387
387
|
|
|
388
388
|
def __matmul__(self, other: VectorProtocol) -> float:
|
|
389
|
-
return numpy.matmul(self, other)
|
|
389
|
+
return numpy.matmul(self, other)
|
|
390
390
|
|
|
391
391
|
def __array_ufunc__(
|
|
392
392
|
self,
|
|
@@ -345,61 +345,61 @@ class VectorSympy(Vector):
|
|
|
345
345
|
lib = SympyLib()
|
|
346
346
|
|
|
347
347
|
def __eq__(self, other: typing.Any) -> typing.Any:
|
|
348
|
-
return numpy.equal(self, other)
|
|
348
|
+
return numpy.equal(self, other)
|
|
349
349
|
|
|
350
350
|
def __ne__(self, other: typing.Any) -> typing.Any:
|
|
351
|
-
return numpy.not_equal(self, other)
|
|
351
|
+
return numpy.not_equal(self, other)
|
|
352
352
|
|
|
353
353
|
def __abs__(self) -> float:
|
|
354
354
|
return numpy.absolute(self)
|
|
355
355
|
|
|
356
356
|
def __add__(self, other: VectorProtocol) -> VectorProtocol:
|
|
357
|
-
return numpy.add(self, other)
|
|
357
|
+
return numpy.add(self, other)
|
|
358
358
|
|
|
359
359
|
def __radd__(self, other: VectorProtocol) -> VectorProtocol:
|
|
360
|
-
return numpy.add(other, self)
|
|
360
|
+
return numpy.add(other, self)
|
|
361
361
|
|
|
362
362
|
def __iadd__(self: SameVectorType, other: VectorProtocol) -> SameVectorType:
|
|
363
|
-
return _replace_data(self, numpy.add(self, other))
|
|
363
|
+
return _replace_data(self, numpy.add(self, other))
|
|
364
364
|
|
|
365
365
|
def __sub__(self, other: VectorProtocol) -> VectorProtocol:
|
|
366
|
-
return numpy.subtract(self, other)
|
|
366
|
+
return numpy.subtract(self, other)
|
|
367
367
|
|
|
368
368
|
def __rsub__(self, other: VectorProtocol) -> VectorProtocol:
|
|
369
|
-
return numpy.subtract(other, self)
|
|
369
|
+
return numpy.subtract(other, self)
|
|
370
370
|
|
|
371
371
|
def __isub__(self: SameVectorType, other: VectorProtocol) -> SameVectorType:
|
|
372
|
-
return _replace_data(self, numpy.subtract(self, other))
|
|
372
|
+
return _replace_data(self, numpy.subtract(self, other))
|
|
373
373
|
|
|
374
374
|
def __mul__(self, other: float) -> VectorProtocol:
|
|
375
|
-
return numpy.multiply(self, other)
|
|
375
|
+
return numpy.multiply(self, other)
|
|
376
376
|
|
|
377
377
|
def __rmul__(self, other: float) -> VectorProtocol:
|
|
378
|
-
return numpy.multiply(other, self)
|
|
378
|
+
return numpy.multiply(other, self)
|
|
379
379
|
|
|
380
380
|
def __imul__(self: SameVectorType, other: float) -> SameVectorType:
|
|
381
|
-
return _replace_data(self, numpy.multiply(self, other))
|
|
381
|
+
return _replace_data(self, numpy.multiply(self, other))
|
|
382
382
|
|
|
383
383
|
def __neg__(self: SameVectorType) -> SameVectorType:
|
|
384
|
-
return numpy.negative(self)
|
|
384
|
+
return numpy.negative(self)
|
|
385
385
|
|
|
386
386
|
def __pos__(self: SameVectorType) -> SameVectorType:
|
|
387
|
-
return numpy.positive(self)
|
|
387
|
+
return numpy.positive(self)
|
|
388
388
|
|
|
389
389
|
def __truediv__(self, other: float) -> VectorProtocol:
|
|
390
|
-
return numpy.true_divide(self, other)
|
|
390
|
+
return numpy.true_divide(self, other)
|
|
391
391
|
|
|
392
392
|
def __rtruediv__(self, other: float) -> VectorProtocol:
|
|
393
|
-
return numpy.true_divide(other, self)
|
|
393
|
+
return numpy.true_divide(other, self)
|
|
394
394
|
|
|
395
395
|
def __itruediv__(self: SameVectorType, other: float) -> VectorProtocol:
|
|
396
|
-
return _replace_data(self, numpy.true_divide(self, other))
|
|
396
|
+
return _replace_data(self, numpy.true_divide(self, other))
|
|
397
397
|
|
|
398
398
|
def __pow__(self, other: float) -> float:
|
|
399
|
-
return numpy.power(self, other)
|
|
399
|
+
return numpy.power(self, other)
|
|
400
400
|
|
|
401
401
|
def __matmul__(self, other: VectorProtocol) -> float:
|
|
402
|
-
return numpy.matmul(self, other)
|
|
402
|
+
return numpy.matmul(self, other)
|
|
403
403
|
|
|
404
404
|
def __array_ufunc__(
|
|
405
405
|
self,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.boostX_beta.rst
RENAMED
|
File without changes
|
{vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.boostX_gamma.rst
RENAMED
|
File without changes
|
{vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.boostY_beta.rst
RENAMED
|
File without changes
|
{vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.boostY_gamma.rst
RENAMED
|
File without changes
|
{vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.boostZ_beta.rst
RENAMED
|
File without changes
|
{vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.boostZ_gamma.rst
RENAMED
|
File without changes
|
{vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.boost_beta3.rst
RENAMED
|
File without changes
|
|
File without changes
|
{vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.deltaRapidityPhi.rst
RENAMED
|
File without changes
|
{vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.deltaRapidityPhi2.rst
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.is_lightlike.rst
RENAMED
|
File without changes
|
{vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.is_spacelike.rst
RENAMED
|
File without changes
|
{vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.is_timelike.rst
RENAMED
|
File without changes
|
|
File without changes
|
{vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.not_equal.rst
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{vector-1.4.2 → vector-1.4.3}/docs/api/compute/lorentz/vector._compute.lorentz.transform4D.rst
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{vector-1.4.2 → vector-1.4.3}/docs/api/compute/planar/vector._compute.planar.is_antiparallel.rst
RENAMED
|
File without changes
|
{vector-1.4.2 → vector-1.4.3}/docs/api/compute/planar/vector._compute.planar.is_parallel.rst
RENAMED
|
File without changes
|
{vector-1.4.2 → vector-1.4.3}/docs/api/compute/planar/vector._compute.planar.is_perpendicular.rst
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{vector-1.4.2 → vector-1.4.3}/docs/api/compute/planar/vector._compute.planar.transform2D.rst
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{vector-1.4.2 → vector-1.4.3}/docs/api/compute/spatial/vector._compute.spatial.deltaangle.rst
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{vector-1.4.2 → vector-1.4.3}/docs/api/compute/spatial/vector._compute.spatial.is_antiparallel.rst
RENAMED
|
File without changes
|