#include "EvtGenBase/EvtComplex.hh"
#include "EvtGenBase/EvtVector3C.hh"
#include "EvtGenBase/EvtVector4R.hh"
#include <iosfwd>
Go to the source code of this file.
Classes | |
class | EvtVector4C |
Functions | |
EvtVector4C | operator+ (const EvtVector4C &v1, const EvtVector4C &v2) |
EvtVector4C | operator- (const EvtVector4C &v1, const EvtVector4C &v2) |
EvtVector4C | operator * (double d, const EvtVector4C &v2) |
EvtVector4C | operator * (const EvtComplex &c, const EvtVector4C &v2) |
EvtVector4C | operator * (const EvtVector4C &v2, const EvtComplex &c) |
EvtVector4C | operator * (const EvtComplex &c, const EvtVector4R &v2) |
EvtComplex | operator * (const EvtVector4R &v1, const EvtVector4C &v2) |
EvtComplex | operator * (const EvtVector4C &v1, const EvtVector4R &v2) |
EvtComplex | operator * (const EvtVector4C &v1, const EvtVector4C &v2) |
EvtComplex operator * | ( | const EvtVector4C & | v1, | |
const EvtVector4C & | v2 | |||
) | [inline] |
EvtComplex operator * | ( | const EvtVector4C & | v1, | |
const EvtVector4R & | v2 | |||
) | [inline] |
Definition at line 194 of file EvtVector4C.hh.
References EvtVector4R::get(), and EvtVector4C::v.
00194 { 00195 00196 return v1.v[0]*v2.get(0)-v1.v[1]*v2.get(1)- 00197 v1.v[2]*v2.get(2)-v1.v[3]*v2.get(3); 00198 }
EvtComplex operator * | ( | const EvtVector4R & | v1, | |
const EvtVector4C & | v2 | |||
) | [inline] |
Definition at line 188 of file EvtVector4C.hh.
References EvtVector4R::get(), and EvtVector4C::v.
00188 { 00189 00190 return v1.get(0)*v2.v[0]-v1.get(1)*v2.v[1]- 00191 v1.get(2)*v2.v[2]-v1.get(3)*v2.v[3]; 00192 }
EvtVector4C operator * | ( | const EvtComplex & | c, | |
const EvtVector4R & | v2 | |||
) | [inline] |
Definition at line 177 of file EvtVector4C.hh.
References EvtVector4R::get().
00177 { 00178 00179 return EvtVector4C(c*v2.get(0),c*v2.get(1),c*v2.get(2),c*v2.get(3)); 00180 }
EvtVector4C operator * | ( | const EvtVector4C & | v2, | |
const EvtComplex & | c | |||
) | [inline] |
Definition at line 172 of file EvtVector4C.hh.
00172 { 00173 00174 return EvtVector4C(v2)*=c; 00175 }
EvtVector4C operator * | ( | const EvtComplex & | c, | |
const EvtVector4C & | v2 | |||
) | [inline] |
Definition at line 167 of file EvtVector4C.hh.
00167 { 00168 00169 return EvtVector4C(v2)*=c; 00170 }
EvtVector4C operator * | ( | double | d, | |
const EvtVector4C & | v2 | |||
) | [inline] |
Definition at line 162 of file EvtVector4C.hh.
References EvtVector4C::v.
00162 { 00163 00164 return EvtVector4C(v2.v[0]*d,v2.v[1]*d,v2.v[2]*d,v2.v[3]*d); 00165 }
EvtVector4C operator+ | ( | const EvtVector4C & | v1, | |
const EvtVector4C & | v2 | |||
) | [inline] |
Definition at line 136 of file EvtVector4C.hh.
00136 { 00137 00138 return EvtVector4C(v1)+=v2; 00139 }
EvtVector4C operator- | ( | const EvtVector4C & | v1, | |
const EvtVector4C & | v2 | |||
) | [inline] |
Definition at line 141 of file EvtVector4C.hh.
00141 { 00142 00143 return EvtVector4C(v1)-=v2; 00144 }