
Overview#
Vector is a Python 3.8+ library (Python 3.6 and 3.7 supported till v0.9.0
and v1.0.0
, respectively) for 2D, 3D, and Lorentz vectors, especially arrays of vectors, to solve common physics problems in a NumPy-like way.
Main features of Vector:
Pure Python with NumPy as its only dependency. This makes it easier to install.
Vectors may be represented in a variety of coordinate systems: Cartesian, cylindrical, pseudorapidity, and any combination of these with time or proper time for Lorentz vectors. In all, there are 12 coordinate systems: {x - y vs ρ - φ in the azimuthal plane} × {z vs θ vs η longitudinally} × {t vs τ temporally}.
Uses names and conventions set by ROOT’s TLorentzVector and Math::LorentzVector, as well as scikit-hep/math, uproot-methods TLorentzVector, henryiii/hepvector, and coffea.nanoevents.methods.vector.
- Implemented on a variety of backends:
pure Python objects
NumPy arrays of vectors (as a structured array subclass)
Awkward Arrays of vectors
potential for more: CuPy, TensorFlow, Torch, JAX…
NumPy/Awkward backends also implemented in Numba for JIT-compiled calculations on vectors.
Distinction between geometrical vectors, which have a minimum of attribute and method names, and vectors representing momentum, which have synonyms like
pt
=rho
,energy
=t
,mass
=tau
.
Installation#
Vector is available on PyPI as well as on conda. The library can be installed using pip
-
pip install vector
or using conda
-
conda install -c conda-forge vector
Example gallery#
Vector
has several examples covering the basics as well as some advanced usage of the library. The example gallery
covers almost all the features offered by vector
and any new additions to the gallery are welcomed.
Note: Adding more examples and improving the existing examples for newcomers is still in progress.
Example gallery
Talks about vector#
13th September 2022 - Constructing HEP vectors and analyzing HEP data using Vector - PyHEP 2022 (virtual) 🎥
20th July 2022 - Analysis Grand Challenge / HEP Scientific Python Ecosystem - DANCE/CoDaS@Snowmass 2022 computational and data science software training
25th April 2022 - Foundation libraries (uproot, awkward, hist, mplhep) - IRIS-HEP AGC Tools 2022 Workshop 🎥
3rd November 2021 - Data handling: uproot, awkward & vector - IRIS-HEP AGC Tools 2021 Workshop 🎥
Changes in vector’s API#
The changelog
file describes the changes in vector
’s API and usage introduced in every new version. These changes can
be breaking changes or minor adjustments, hence one should go through this file and their existing codebase while updating vector
’s
version.
Changes in vector's API
Getting help#
Vector
’s code is hosted on GitHub.If something is not working the way it should, or if you want to request a new feature, create a new issue on GitHub.
To discuss something related to
vector
, use the discussions tab on GitHub orvector
’s gitter (Scikit-HEP/vector) chat room.
Contributing to vector#
If you are planning to develop vector
(thank you!), or if you want to use the latest commit of vector
on your local machine, you might want to install it from the source. Refer to our Contributing Guidelines for more information.
API reference#
The API reference details the functionality of each class
and function
present in vector
’s codebase.
API Reference
- vector
- vector package
- Subpackages
- vector.backends package
- Submodules
- vector.backends.object module
AzimuthalObject
AzimuthalObjectRhoPhi
AzimuthalObjectXY
CoordinatesObject
LongitudinalObject
LongitudinalObjectEta
LongitudinalObjectTheta
LongitudinalObjectZ
MomentumObject2D
MomentumObject3D
MomentumObject4D
MomentumObject4D.E
MomentumObject4D.GenericClass
MomentumObject4D.M
MomentumObject4D.ProjectionClass2D
MomentumObject4D.ProjectionClass3D
MomentumObject4D.ProjectionClass4D
MomentumObject4D.azimuthal
MomentumObject4D.e
MomentumObject4D.energy
MomentumObject4D.longitudinal
MomentumObject4D.m
MomentumObject4D.mass
MomentumObject4D.pt
MomentumObject4D.px
MomentumObject4D.py
MomentumObject4D.pz
MomentumObject4D.temporal
TemporalObject
TemporalObjectT
TemporalObjectTau
TupleEta
TupleRhoPhi
TupleT
TupleTau
TupleTheta
TupleXY
TupleZ
VectorObject
VectorObject2D
VectorObject2D.GenericClass
VectorObject2D.ProjectionClass2D
VectorObject2D.ProjectionClass3D
VectorObject2D.ProjectionClass4D
VectorObject2D._wrap_result()
VectorObject2D.azimuthal
VectorObject2D.from_rhophi()
VectorObject2D.from_xy()
VectorObject2D.phi
VectorObject2D.rho
VectorObject2D.x
VectorObject2D.y
VectorObject3D
VectorObject3D.GenericClass
VectorObject3D.ProjectionClass2D
VectorObject3D.ProjectionClass3D
VectorObject3D.ProjectionClass4D
VectorObject3D._wrap_result()
VectorObject3D.azimuthal
VectorObject3D.eta
VectorObject3D.from_rhophieta()
VectorObject3D.from_rhophitheta()
VectorObject3D.from_rhophiz()
VectorObject3D.from_xyeta()
VectorObject3D.from_xytheta()
VectorObject3D.from_xyz()
VectorObject3D.longitudinal
VectorObject3D.phi
VectorObject3D.rho
VectorObject3D.theta
VectorObject3D.x
VectorObject3D.y
VectorObject3D.z
VectorObject4D
VectorObject4D.GenericClass
VectorObject4D.ProjectionClass2D
VectorObject4D.ProjectionClass3D
VectorObject4D.ProjectionClass4D
VectorObject4D._wrap_result()
VectorObject4D.azimuthal
VectorObject4D.eta
VectorObject4D.from_rhophietat()
VectorObject4D.from_rhophietatau()
VectorObject4D.from_rhophithetat()
VectorObject4D.from_rhophithetatau()
VectorObject4D.from_rhophizt()
VectorObject4D.from_rhophiztau()
VectorObject4D.from_xyetat()
VectorObject4D.from_xyetatau()
VectorObject4D.from_xythetat()
VectorObject4D.from_xythetatau()
VectorObject4D.from_xyzt()
VectorObject4D.from_xyztau()
VectorObject4D.longitudinal
VectorObject4D.phi
VectorObject4D.rho
VectorObject4D.t
VectorObject4D.tau
VectorObject4D.temporal
VectorObject4D.theta
VectorObject4D.x
VectorObject4D.y
VectorObject4D.z
_gather_coordinates()
_is_type_safe()
_replace_data()
obj()
- vector.backends.numpy module
AzimuthalNumpy
AzimuthalNumpyRhoPhi
AzimuthalNumpyXY
CoordinatesNumpy
GetItem
LongitudinalNumpy
LongitudinalNumpyEta
LongitudinalNumpyTheta
LongitudinalNumpyZ
MomentumNumpy2D
MomentumNumpy3D
MomentumNumpy4D
TemporalNumpy
TemporalNumpyT
TemporalNumpyTau
VectorNumpy
VectorNumpy2D
VectorNumpy3D
VectorNumpy3D.GenericClass
VectorNumpy3D.ObjectClass
VectorNumpy3D.ProjectionClass2D
VectorNumpy3D.ProjectionClass3D
VectorNumpy3D.ProjectionClass4D
VectorNumpy3D._IS_MOMENTUM
VectorNumpy3D._azimuthal_type
VectorNumpy3D._longitudinal_type
VectorNumpy3D._wrap_result()
VectorNumpy3D.azimuthal
VectorNumpy3D.longitudinal
VectorNumpy4D
VectorNumpy4D.GenericClass
VectorNumpy4D.ObjectClass
VectorNumpy4D.ProjectionClass2D
VectorNumpy4D.ProjectionClass3D
VectorNumpy4D.ProjectionClass4D
VectorNumpy4D._IS_MOMENTUM
VectorNumpy4D._azimuthal_type
VectorNumpy4D._longitudinal_type
VectorNumpy4D._temporal_type
VectorNumpy4D._wrap_result()
VectorNumpy4D.azimuthal
VectorNumpy4D.longitudinal
VectorNumpy4D.temporal
_array_from_columns()
_array_repr()
_getitem()
_has()
_is_type_safe()
_reduce_count_nonzero()
_reduce_sum()
_setitem()
_shape_of()
_toarrays()
array()
- vector.backends.awkward module
AwkwardProtocol
AzimuthalAwkward
AzimuthalAwkwardRhoPhi
AzimuthalAwkwardXY
CoordinatesAwkward
LongitudinalAwkward
LongitudinalAwkwardEta
LongitudinalAwkwardTheta
LongitudinalAwkwardZ
MomentumArray2D
MomentumArray3D
MomentumArray4D
MomentumAwkward2D
MomentumAwkward3D
MomentumAwkward4D
MomentumRecord2D
MomentumRecord3D
MomentumRecord4D
TemporalAwkward
TemporalAwkwardT
TemporalAwkwardTau
VectorArray2D
VectorArray3D
VectorArray4D
VectorAwkward
VectorAwkward2D
VectorAwkward3D
VectorAwkward4D
VectorRecord2D
VectorRecord3D
VectorRecord4D
_arraytype_of()
_aztype_of()
_class_to_name()
_lookup_field()
_ltype_of()
_no_record()
_numba_lower()
_numba_typer_Momentum2D()
_numba_typer_Momentum3D()
_numba_typer_Momentum4D()
_numba_typer_Vector2D()
_numba_typer_Vector3D()
_numba_typer_Vector4D()
_reduce_count()
_reduce_count_nonzero()
_reduce_sum()
_ttype_of()
_yes_record()
impl()
- vector.backends.awkward_constructors module
- vector.backends._numba module
- vector.backends.numba_numpy module
- vector.backends._numba_object module
MomentumObject2DType
MomentumObject2D_constructor_typer()
MomentumObject3DType
MomentumObject3D_constructor_typer()
MomentumObject4DType
MomentumObject4DType_E()
MomentumObject4DType_E2()
MomentumObject4DType_M()
MomentumObject4DType_M2()
MomentumObject4DType_energy()
MomentumObject4DType_energy2()
MomentumObject4DType_mass()
MomentumObject4DType_mass2()
MomentumObject4DType_transverse_energy()
MomentumObject4DType_transverse_energy2()
MomentumObject4DType_transverse_mass()
MomentumObject4DType_transverse_mass2()
MomentumObject4D_constructor_typer()
VectorObject2DType
VectorObject2DType_unit()
VectorObject2D_box()
VectorObject2D_constructor_typer()
VectorObject2D_to_Vector2D()
VectorObject2D_to_Vector3D()
VectorObject2D_to_Vector4D()
VectorObject2D_typeof()
VectorObject2D_unbox()
VectorObject3DType
VectorObject3DType_unit()
VectorObject3D_box()
VectorObject3D_constructor_typer()
VectorObject3D_to_Vector2D()
VectorObject3D_to_Vector3D()
VectorObject3D_to_Vector4D()
VectorObject3D_typeof()
VectorObject3D_unbox()
VectorObject4DType
VectorObject4DType_boost()
VectorObject4DType_boostCM_of()
VectorObject4DType_boostCM_of_beta3()
VectorObject4DType_boostCM_of_p4()
VectorObject4DType_boost_beta3()
VectorObject4DType_boost_p4()
VectorObject4DType_is_lightlike()
VectorObject4DType_is_spacelike()
VectorObject4DType_is_timelike()
VectorObject4DType_neg4D()
VectorObject4DType_scale3D()
VectorObject4DType_to_beta3()
VectorObject4DType_transform4D()
VectorObject4DType_unit()
VectorObject4D_box()
VectorObject4D_constructor_typer()
VectorObject4D_to_Vector2D()
VectorObject4D_to_Vector3D()
VectorObject4D_to_Vector4D()
VectorObject4D_typeof()
VectorObject4D_unbox()
_awkward_numba_E()
_awkward_numba_M()
_awkward_numba_e()
_awkward_numba_energy()
_awkward_numba_eta()
_awkward_numba_m()
_awkward_numba_mass()
_awkward_numba_ptphi()
_awkward_numba_pxpy()
_awkward_numba_pxy()
_awkward_numba_pz()
_awkward_numba_rhophi()
_awkward_numba_t()
_awkward_numba_tau()
_awkward_numba_theta()
_awkward_numba_xpy()
_awkward_numba_xy()
_awkward_numba_z()
add_binary_method()
add_boostXYZ()
add_coordinate_change()
add_isclose_method()
add_lorentz_property()
add_planar_property()
add_rotateZ()
add_spatial_property()
add_tolerance_method()
add_transform2D()
azimuthalrhophi_coord1()
azimuthalrhophi_coord2()
azimuthalxy_coord1()
azimuthalxy_coord2()
dimension_of()
flavor_of()
is_azimuthaltype()
is_longitudinaltype()
is_temporaltype()
longitudinaleta_coord1()
longitudinaltheta_coord1()
longitudinalz_coord1()
make_AzimuthalObjectRhoPhi()
make_AzimuthalObjectXY()
make_LongitudinalObjectEta()
make_LongitudinalObjectEta_zero()
make_LongitudinalObjectTheta()
make_LongitudinalObjectTheta_zero()
make_LongitudinalObjectZ()
make_LongitudinalObjectZ_zero()
make_TemporalObjectT()
make_TemporalObjectT_zero()
make_TemporalObjectTau()
make_TemporalObjectTau_zero()
nan_to_num()
numba_aztype()
numba_ltype()
numba_ttype()
numpy_absolute()
numpy_add()
numpy_cbrt()
numpy_matmul()
numpy_multiply()
numpy_negative()
numpy_positive()
numpy_power()
numpy_sqrt()
numpy_square()
numpy_subtract()
numpy_true_divide()
operator_abs()
operator_add()
operator_eq()
operator_matmul()
operator_mul()
operator_ne()
operator_neg()
operator_pos()
operator_pow()
operator_sub()
operator_truediv()
operator_truth()
temporalt_coord1()
temporaltau_coord1()
vector_obj()
vector_obj_Azimuthal_ptphi()
vector_obj_Azimuthal_pxpy()
vector_obj_Azimuthal_pxy()
vector_obj_Azimuthal_rhophi()
vector_obj_Azimuthal_xpy()
vector_obj_Azimuthal_xy()
vector_obj_Longitudinal_eta()
vector_obj_Longitudinal_pz()
vector_obj_Longitudinal_theta()
vector_obj_Longitudinal_z()
vector_obj_Temporal_E()
vector_obj_Temporal_M()
vector_obj_Temporal_e()
vector_obj_Temporal_energy()
vector_obj_Temporal_m()
vector_obj_Temporal_mass()
vector_obj_Temporal_t()
vector_obj_Temporal_tau()
vectortype
- vector.backends.object module
- Submodules
- vector._compute package
- Subpackages
- vector._compute.lorentz package
- Submodules
- vector._compute.lorentz.add module
- vector._compute.lorentz.beta module
- vector._compute.lorentz.boost_beta3 module
- vector._compute.lorentz.boost_p4 module
- vector._compute.lorentz.boostX_beta module
- vector._compute.lorentz.boostX_gamma module
- vector._compute.lorentz.boostY_beta module
- vector._compute.lorentz.boostY_gamma module
- vector._compute.lorentz.boostZ_beta module
- vector._compute.lorentz.boostZ_gamma module
- vector._compute.lorentz.deltaRapidityPhi module
- vector._compute.lorentz.deltaRapidityPhi2 module
- vector._compute.lorentz.dot module
- vector._compute.lorentz.equal module
- vector._compute.lorentz.Et module
- vector._compute.lorentz.Et2 module
- vector._compute.lorentz.gamma module
- vector._compute.lorentz.is_lightlike module
- vector._compute.lorentz.is_spacelike module
- vector._compute.lorentz.is_timelike module
- vector._compute.lorentz.isclose module
- vector._compute.lorentz.Mt module
- vector._compute.lorentz.Mt2 module
- vector._compute.lorentz.not_equal module
- vector._compute.lorentz.rapidity module
- vector._compute.lorentz.scale module
- vector._compute.lorentz.subtract module
- vector._compute.lorentz.t module
- vector._compute.lorentz.t2 module
- vector._compute.lorentz.tau module
- vector._compute.lorentz.tau2 module
- vector._compute.lorentz.to_beta3 module
- vector._compute.lorentz.transform4D module
- vector._compute.lorentz.unit module
- Submodules
- vector._compute.planar package
- Submodules
- vector._compute.planar.add module
- vector._compute.planar.deltaphi module
- vector._compute.planar.dot module
- vector._compute.planar.equal module
- vector._compute.planar.is_antiparallel module
- vector._compute.planar.is_parallel module
- vector._compute.planar.is_perpendicular module
- vector._compute.planar.isclose module
- vector._compute.planar.not_equal module
- vector._compute.planar.phi module
- vector._compute.planar.rho module
- vector._compute.planar.rho2 module
- vector._compute.planar.rotateZ module
- vector._compute.planar.scale module
- vector._compute.planar.subtract module
- vector._compute.planar.transform2D module
- vector._compute.planar.unit module
- vector._compute.planar.x module
- vector._compute.planar.y module
- Submodules
- vector._compute.spatial package
- Submodules
- vector._compute.spatial.add module
- vector._compute.spatial.costheta module
- vector._compute.spatial.cottheta module
- vector._compute.spatial.cross module
- vector._compute.spatial.deltaangle module
- vector._compute.spatial.deltaeta module
- vector._compute.spatial.deltaR module
- vector._compute.spatial.deltaR2 module
- vector._compute.spatial.dot module
- vector._compute.spatial.equal module
- vector._compute.spatial.eta module
- vector._compute.spatial.is_antiparallel module
- vector._compute.spatial.is_parallel module
- vector._compute.spatial.is_perpendicular module
- vector._compute.spatial.isclose module
- vector._compute.spatial.mag module
- vector._compute.spatial.mag2 module
- vector._compute.spatial.not_equal module
- vector._compute.spatial.rotate_axis module
- vector._compute.spatial.rotate_euler module
- vector._compute.spatial.rotate_quaternion module
- vector._compute.spatial.rotateX module
- vector._compute.spatial.rotateY module
- vector._compute.spatial.scale module
- vector._compute.spatial.subtract module
- vector._compute.spatial.theta module
- vector._compute.spatial.transform3D module
- vector._compute.spatial.unit module
- vector._compute.spatial.z module
- Submodules
- vector._compute.lorentz package
- Subpackages
- vector.backends package
- Submodules
- vector._methods module
Azimuthal
AzimuthalRhoPhi
AzimuthalXY
Coordinates
Longitudinal
LongitudinalEta
LongitudinalTheta
LongitudinalZ
Lorentz
Lorentz.add()
Lorentz.beta
Lorentz.boost()
Lorentz.boostCM_of()
Lorentz.boostCM_of_beta3()
Lorentz.boostCM_of_p4()
Lorentz.boostX()
Lorentz.boostY()
Lorentz.boostZ()
Lorentz.boost_beta3()
Lorentz.boost_p4()
Lorentz.deltaRapidityPhi()
Lorentz.deltaRapidityPhi2()
Lorentz.dot()
Lorentz.equal()
Lorentz.gamma
Lorentz.is_lightlike()
Lorentz.is_spacelike()
Lorentz.is_timelike()
Lorentz.isclose()
Lorentz.neg2D
Lorentz.neg3D
Lorentz.neg4D
Lorentz.not_equal()
Lorentz.rapidity
Lorentz.scale()
Lorentz.scale2D()
Lorentz.scale3D()
Lorentz.scale4D()
Lorentz.subtract()
Lorentz.t
Lorentz.t2
Lorentz.tau
Lorentz.tau2
Lorentz.to_beta3()
Lorentz.transform4D()
Lorentz.unit()
LorentzMomentum
LorentzMomentum.E
LorentzMomentum.E2
LorentzMomentum.Et
LorentzMomentum.Et2
LorentzMomentum.M
LorentzMomentum.M2
LorentzMomentum.Mt
LorentzMomentum.Mt2
LorentzMomentum.e
LorentzMomentum.e2
LorentzMomentum.energy
LorentzMomentum.energy2
LorentzMomentum.et
LorentzMomentum.et2
LorentzMomentum.m
LorentzMomentum.m2
LorentzMomentum.mass
LorentzMomentum.mass2
LorentzMomentum.mt
LorentzMomentum.mt2
LorentzMomentum.transverse_energy
LorentzMomentum.transverse_energy2
LorentzMomentum.transverse_mass
LorentzMomentum.transverse_mass2
Momentum
MomentumProtocolLorentz
MomentumProtocolLorentz.E
MomentumProtocolLorentz.E2
MomentumProtocolLorentz.Et
MomentumProtocolLorentz.Et2
MomentumProtocolLorentz.M
MomentumProtocolLorentz.M2
MomentumProtocolLorentz.Mt
MomentumProtocolLorentz.Mt2
MomentumProtocolLorentz.e
MomentumProtocolLorentz.e2
MomentumProtocolLorentz.energy
MomentumProtocolLorentz.energy2
MomentumProtocolLorentz.et
MomentumProtocolLorentz.et2
MomentumProtocolLorentz.m
MomentumProtocolLorentz.m2
MomentumProtocolLorentz.mass
MomentumProtocolLorentz.mass2
MomentumProtocolLorentz.mt
MomentumProtocolLorentz.mt2
MomentumProtocolLorentz.transverse_energy
MomentumProtocolLorentz.transverse_energy2
MomentumProtocolLorentz.transverse_mass
MomentumProtocolLorentz.transverse_mass2
MomentumProtocolPlanar
MomentumProtocolSpatial
Planar
Planar.add()
Planar.deltaphi()
Planar.dot()
Planar.equal()
Planar.is_antiparallel()
Planar.is_parallel()
Planar.is_perpendicular()
Planar.isclose()
Planar.neg2D
Planar.not_equal()
Planar.phi
Planar.rho
Planar.rho2
Planar.rotateZ()
Planar.scale()
Planar.scale2D()
Planar.subtract()
Planar.transform2D()
Planar.unit()
Planar.x
Planar.y
PlanarMomentum
Spatial
Spatial.add()
Spatial.costheta
Spatial.cottheta
Spatial.cross()
Spatial.deltaR()
Spatial.deltaR2()
Spatial.deltaangle()
Spatial.deltaeta()
Spatial.dot()
Spatial.equal()
Spatial.eta
Spatial.is_antiparallel()
Spatial.is_parallel()
Spatial.is_perpendicular()
Spatial.isclose()
Spatial.mag
Spatial.mag2
Spatial.neg2D
Spatial.neg3D
Spatial.not_equal()
Spatial.rotateX()
Spatial.rotateY()
Spatial.rotate_axis()
Spatial.rotate_euler()
Spatial.rotate_nautical()
Spatial.rotate_quaternion()
Spatial.scale()
Spatial.scale2D()
Spatial.scale3D()
Spatial.subtract()
Spatial.theta
Spatial.transform3D()
Spatial.unit()
Spatial.z
SpatialMomentum
Temporal
TemporalT
TemporalTau
Vector
Vector.to_rhophi()
Vector.to_rhophieta()
Vector.to_rhophietat()
Vector.to_rhophietatau()
Vector.to_rhophitheta()
Vector.to_rhophithetat()
Vector.to_rhophithetatau()
Vector.to_rhophiz()
Vector.to_rhophizt()
Vector.to_rhophiztau()
Vector.to_xy()
Vector.to_xyeta()
Vector.to_xyetat()
Vector.to_xyetatau()
Vector.to_xytheta()
Vector.to_xythetat()
Vector.to_xythetatau()
Vector.to_xyz()
Vector.to_xyzt()
Vector.to_xyztau()
Vector2D
Vector3D
Vector4D
VectorProtocol
VectorProtocol.lib
VectorProtocol.ProjectionClass2D
VectorProtocol.ProjectionClass3D
VectorProtocol.ProjectionClass4D
VectorProtocol.GenericClass
VectorProtocol.GenericClass
VectorProtocol.ProjectionClass2D
VectorProtocol.ProjectionClass3D
VectorProtocol.ProjectionClass4D
VectorProtocol._wrap_result()
VectorProtocol.add()
VectorProtocol.dot()
VectorProtocol.equal()
VectorProtocol.isclose()
VectorProtocol.lib
VectorProtocol.not_equal()
VectorProtocol.scale()
VectorProtocol.subtract()
VectorProtocol.to_Vector2D()
VectorProtocol.to_Vector3D()
VectorProtocol.to_Vector4D()
VectorProtocol.to_rhophi()
VectorProtocol.to_rhophieta()
VectorProtocol.to_rhophietat()
VectorProtocol.to_rhophietatau()
VectorProtocol.to_rhophitheta()
VectorProtocol.to_rhophithetat()
VectorProtocol.to_rhophithetatau()
VectorProtocol.to_rhophiz()
VectorProtocol.to_rhophizt()
VectorProtocol.to_rhophiztau()
VectorProtocol.to_xy()
VectorProtocol.to_xyeta()
VectorProtocol.to_xyetat()
VectorProtocol.to_xyetatau()
VectorProtocol.to_xytheta()
VectorProtocol.to_xythetat()
VectorProtocol.to_xythetatau()
VectorProtocol.to_xyz()
VectorProtocol.to_xyzt()
VectorProtocol.to_xyztau()
VectorProtocol.unit()
VectorProtocolLorentz
VectorProtocolLorentz.beta
VectorProtocolLorentz.boost()
VectorProtocolLorentz.boostCM_of()
VectorProtocolLorentz.boostCM_of_beta3()
VectorProtocolLorentz.boostCM_of_p4()
VectorProtocolLorentz.boostX()
VectorProtocolLorentz.boostY()
VectorProtocolLorentz.boostZ()
VectorProtocolLorentz.boost_beta3()
VectorProtocolLorentz.boost_p4()
VectorProtocolLorentz.deltaRapidityPhi()
VectorProtocolLorentz.deltaRapidityPhi2()
VectorProtocolLorentz.gamma
VectorProtocolLorentz.is_lightlike()
VectorProtocolLorentz.is_spacelike()
VectorProtocolLorentz.is_timelike()
VectorProtocolLorentz.neg4D
VectorProtocolLorentz.rapidity
VectorProtocolLorentz.scale4D()
VectorProtocolLorentz.t
VectorProtocolLorentz.t2
VectorProtocolLorentz.tau
VectorProtocolLorentz.tau2
VectorProtocolLorentz.temporal
VectorProtocolLorentz.to_beta3()
VectorProtocolLorentz.transform4D()
VectorProtocolPlanar
VectorProtocolPlanar.azimuthal
VectorProtocolPlanar.deltaphi()
VectorProtocolPlanar.is_antiparallel()
VectorProtocolPlanar.is_parallel()
VectorProtocolPlanar.is_perpendicular()
VectorProtocolPlanar.neg2D
VectorProtocolPlanar.phi
VectorProtocolPlanar.rho
VectorProtocolPlanar.rho2
VectorProtocolPlanar.rotateZ()
VectorProtocolPlanar.scale2D()
VectorProtocolPlanar.transform2D()
VectorProtocolPlanar.x
VectorProtocolPlanar.y
VectorProtocolSpatial
VectorProtocolSpatial.costheta
VectorProtocolSpatial.cottheta
VectorProtocolSpatial.cross()
VectorProtocolSpatial.deltaR()
VectorProtocolSpatial.deltaR2()
VectorProtocolSpatial.deltaangle()
VectorProtocolSpatial.deltaeta()
VectorProtocolSpatial.eta
VectorProtocolSpatial.is_antiparallel()
VectorProtocolSpatial.is_parallel()
VectorProtocolSpatial.is_perpendicular()
VectorProtocolSpatial.longitudinal
VectorProtocolSpatial.mag
VectorProtocolSpatial.mag2
VectorProtocolSpatial.neg3D
VectorProtocolSpatial.rotateX()
VectorProtocolSpatial.rotateY()
VectorProtocolSpatial.rotate_axis()
VectorProtocolSpatial.rotate_euler()
VectorProtocolSpatial.rotate_nautical()
VectorProtocolSpatial.rotate_quaternion()
VectorProtocolSpatial.scale3D()
VectorProtocolSpatial.theta
VectorProtocolSpatial.transform3D()
VectorProtocolSpatial.z
_aztype()
_compute_module_of()
_flavor_of()
_from_signature()
_get_handler_index()
_handler_of()
_lib_of()
_ltype()
_ttype()
dim()
- vector._typeutils module
BoolCollection
FloatArray
Protocol
ScalarCollection
TransformProtocol2D
TransformProtocol3D
TransformProtocol4D
TransformProtocol4D.tt
TransformProtocol4D.tx
TransformProtocol4D.ty
TransformProtocol4D.tz
TransformProtocol4D.xt
TransformProtocol4D.xx
TransformProtocol4D.xy
TransformProtocol4D.xz
TransformProtocol4D.yt
TransformProtocol4D.yx
TransformProtocol4D.yy
TransformProtocol4D.yz
TransformProtocol4D.zt
TransformProtocol4D.zx
TransformProtocol4D.zy
TransformProtocol4D.zz
- vector._methods module
- Subpackages
- vector package