/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Generator/BesEvtGen/BesEvtGen-00-03-58/src/EvtGen/EvtGenBase/EvtVector3C.hh File Reference

#include "EvtGenBase/EvtComplex.hh"
#include "EvtGenBase/EvtVector3R.hh"
#include <iosfwd>

Go to the source code of this file.

Classes

class  EvtVector3C

Functions

EvtVector3C operator+ (const EvtVector3C &v1, const EvtVector3C &v2)
EvtVector3C operator- (const EvtVector3C &v1, const EvtVector3C &v2)
EvtVector3C operator * (const EvtVector3C &v1, const EvtComplex &c)
EvtVector3C operator * (const EvtComplex &c, const EvtVector3C &v2)
EvtVector3C operator * (const EvtComplex &c, const EvtVector3R &v2)
EvtComplex operator * (const EvtVector3R &v1, const EvtVector3C &v2)
EvtComplex operator * (const EvtVector3C &v1, const EvtVector3R &v2)
EvtComplex operator * (const EvtVector3C &v1, const EvtVector3C &v2)


Function Documentation

EvtComplex operator * ( const EvtVector3C v1,
const EvtVector3C v2 
) [inline]

Definition at line 166 of file EvtVector3C.hh.

References EvtVector3C::v.

00166                                                                         {
00167  
00168   return v1.v[0]*v2.v[0]+v1.v[1]*v2.v[1]+v1.v[2]*v2.v[2];
00169 }

EvtComplex operator * ( const EvtVector3C v1,
const EvtVector3R v2 
) [inline]

Definition at line 161 of file EvtVector3C.hh.

References EvtVector3R::get(), and EvtVector3C::v.

00161                                                                         {
00162  
00163   return v1.v[0]*v2.get(0)+v1.v[1]*v2.get(1)+v1.v[2]*v2.get(2);
00164 }

EvtComplex operator * ( const EvtVector3R v1,
const EvtVector3C v2 
) [inline]

Definition at line 156 of file EvtVector3C.hh.

References EvtVector3R::get(), and EvtVector3C::v.

00156                                                                         {
00157  
00158   return v1.get(0)*v2.v[0]+v1.get(1)*v2.v[1]+v1.get(2)*v2.v[2];
00159 }

EvtVector3C operator * ( const EvtComplex c,
const EvtVector3R v2 
) [inline]

Definition at line 151 of file EvtVector3C.hh.

00151                                                                        {
00152 
00153   return EvtVector3C(v2)*=c;
00154 }

EvtVector3C operator * ( const EvtComplex c,
const EvtVector3C v2 
) [inline]

Definition at line 146 of file EvtVector3C.hh.

00146                                                                        {
00147 
00148   return EvtVector3C(v2)*=c;
00149 }

EvtVector3C operator * ( const EvtVector3C v1,
const EvtComplex c 
) [inline]

Definition at line 141 of file EvtVector3C.hh.

00141                                                                         {
00142 
00143   return EvtVector3C(v1)*=c;
00144 }

EvtVector3C operator+ ( const EvtVector3C v1,
const EvtVector3C v2 
) [inline]

Definition at line 131 of file EvtVector3C.hh.

00131                                                                           {
00132 
00133   return EvtVector3C(v1)+=v2;
00134 }

EvtVector3C operator- ( const EvtVector3C v1,
const EvtVector3C v2 
) [inline]

Definition at line 136 of file EvtVector3C.hh.

00136                                                                           {
00137 
00138   return EvtVector3C(v1)-=v2;
00139 }


Generated on Tue Nov 29 23:15:55 2016 for BOSS_7.0.2 by  doxygen 1.4.7