ThePEG 2.3.0
|
The LorentzRank3Tensor class is designed to implement the storage of a complex tensor to be used to representation the wavefunction of a spin-2 particle. More...
#include <LorentzRank3Tensor.h>
Public Member Functions | |
LorentzRank3Tensor ()=default | |
Default zero constructor. | |
complex< Value > | operator() (int i, int j, int k) const |
Get components by indices. | |
complex< Value > & | operator() (int i, int j, int k) |
Set components by indices. | |
Transformations. | |
LorentzRank3Tensor & | boost (double, double, double) |
Standard Lorentz boost specifying the components of the beta vector. | |
LorentzRank3Tensor< Value > & | boost (const Boost &b) |
Standard Lorentz boost specifying the beta vector. | |
LorentzRank3Tensor & | transform (const SpinOneLorentzRotation &r) |
General Lorentz transformation. | |
LorentzRank3Tensor< Value > | conjugate () |
Return the complex conjugate. | |
Arithmetic operators. | |
std::array< std::array< std::array< complex< Value >, 4 >, 4 >, 4 > | _tensor |
The components. | |
LorentzRank3Tensor< Value > | operator*= (Complex a) |
Scaling with a complex number. | |
LorentzRank3Tensor< Value > | operator+ (const LorentzRank3Tensor< Value > &in) const |
Addition. | |
LorentzRank3Tensor< Value > | operator- (const LorentzRank3Tensor< Value > &in) const |
Subtraction. | |
template<typename ValueB > | |
auto | dot (const LorentzVector< complex< ValueB > > &vec, unsigned int iloc) const -> LorentzTensor< decltype(ValueB() *Value())> |
Dot product with the ith index. | |
auto | dot (const Lorentz5Momentum &vec, unsigned int iloc) const -> LorentzTensor< decltype(vec.x() *Value())> |
dot product with momentum | |
template<typename T , typename U > | |
auto | operator* (const LorentzRank3Tensor< T > &t, const LorentzRank3Tensor< U > &u) -> decltype(t.xx() *u.xx()) |
Scalar product with other tensor. | |
The LorentzRank3Tensor class is designed to implement the storage of a complex tensor to be used to representation the wavefunction of a spin-2 particle.
At the moment it only implements the storage of the tensor components but it is envisaged that it will be extended to include boost methods etc.
Definition at line 37 of file LorentzRank3Tensor.h.
|
inline |
Standard Lorentz boost specifying the beta vector.
Definition at line 73 of file LorentzRank3Tensor.h.
References ThePEG::Helicity::LorentzRank3Tensor< Value >::boost().
|
inline |
Return the complex conjugate.
Definition at line 104 of file LorentzRank3Tensor.h.
References ThePEG::Helicity::LorentzRank3Tensor< Value >::_tensor.
|
inline |
dot product with momentum
Definition at line 199 of file LorentzRank3Tensor.h.
References ThePEG::Helicity::LorentzRank3Tensor< Value >::_tensor.
|
inline |
Dot product with the ith index.
Definition at line 161 of file LorentzRank3Tensor.h.
References ThePEG::Helicity::LorentzRank3Tensor< Value >::_tensor.
|
inline |
Set components by indices.
Definition at line 57 of file LorentzRank3Tensor.h.
References ThePEG::Helicity::LorentzRank3Tensor< Value >::_tensor.
|
inline |
Get components by indices.
Definition at line 49 of file LorentzRank3Tensor.h.
References ThePEG::Helicity::LorentzRank3Tensor< Value >::_tensor.
|
inline |
Scaling with a complex number.
Definition at line 123 of file LorentzRank3Tensor.h.
References ThePEG::Helicity::LorentzRank3Tensor< Value >::_tensor.
|
inline |
Addition.
Definition at line 140 of file LorentzRank3Tensor.h.
References ThePEG::Helicity::LorentzRank3Tensor< Value >::_tensor.
|
inline |
Subtraction.
Definition at line 150 of file LorentzRank3Tensor.h.
References ThePEG::Helicity::LorentzRank3Tensor< Value >::_tensor.
|
inline |
General Lorentz transformation.
Definition at line 80 of file LorentzRank3Tensor.h.
Referenced by ThePEG::Helicity::Rank3TensorWaveFunction::transform().
|
private |
The components.
Definition at line 241 of file LorentzRank3Tensor.h.
Referenced by ThePEG::Helicity::LorentzRank3Tensor< Value >::conjugate(), ThePEG::Helicity::LorentzRank3Tensor< Value >::dot(), ThePEG::Helicity::LorentzRank3Tensor< Value >::operator()(), ThePEG::Helicity::LorentzRank3Tensor< Value >::operator*=(), ThePEG::Helicity::LorentzRank3Tensor< Value >::operator+(), and ThePEG::Helicity::LorentzRank3Tensor< Value >::operator-().