Four-Vector handling.
More...
#include <FourVector.h>
|
constexpr | FourVector (const std::array< T, 4 > &l) noexcept |
| intializer_list constructor
|
|
constexpr | FourVector (const Vector< T, 4 > &V) |
| Vector<T, 4> constructor.
|
|
constexpr | FourVector (const T &E, const ThreeVector< T > &P) noexcept |
|
constexpr T | operator* (const Vector< T, 4 > &B) const override |
|
constexpr | Vector (const std::array< T, N > &v) noexcept |
| Constructor.
|
|
| Vector (const VectorExpression< T, N, E > &V) |
| expression constructor
|
|
| Vector (T element=0) |
| Default constructor.
|
|
T & | operator[] (size_t i) |
| element access operator
|
|
const T | operator[] (size_t i) const |
| element access operator
|
|
T & | front () |
| access to front
|
|
const T & | front () const |
| access to front
|
|
VectorIterator< T, N > | begin () |
| access to begin
|
|
VectorIterator< const T, N > | begin () const |
| access to begin
|
|
VectorIterator< T, N > | end () |
| access to end
|
|
VectorIterator< const T, N > | end () const |
| access to end
|
|
virtual auto | operator* (const Vector< T, N > &B) const -> decltype(T(0)*T(0)) |
| inner (dot) product of Vector's
|
|
constexpr T | operator[] (size_t i) const |
| access operator
|
|
constexpr size_t | size () const |
|
| operator Vector< T, N > & () |
| cast to E
|
|
constexpr | operator const Vector< T, N > & () const |
| cast to E
|
|
template<typename T>
class yap::FourVector< T >
Four-Vector handling.
- Author
- Johannes Rauch, Daniel Greenwald
constexpr FourVector |
( |
const T & |
E, |
|
|
const ThreeVector< T > & |
P |
|
) |
| |
|
inlinenoexcept |
energy + ThreeVector constructor
- Parameters
-
E | 0th component |
P | #ThreeVector component |
constexpr T operator* |
( |
const Vector< T, 4 > & |
B | ) |
const |
|
inlineoverride |
- Returns
- inner (dot) product for 4-vectors
The documentation for this class was generated from the following file: