21#include "EvtGenBase/EvtPatches.hh"
24#include "EvtGenBase/EvtComplex.hh"
30 s<<
"("<<c._rpart<<
","<<c._ipart<<
")";
37 double r=_rpart*c._rpart-_ipart*c._ipart;
38 double i=_rpart*c._ipart+_ipart*c._rpart;
49 double inv=1.0/(c._rpart*c._rpart+c._ipart*c._ipart);
51 double r=inv*(_rpart*c._rpart+_ipart*c._ipart);
52 double i=inv*(_ipart*c._rpart-_rpart*c._ipart);
ostream & operator<<(ostream &s, const EvtComplex &c)
EvtComplex & operator*=(double d)
EvtComplex & operator/=(double d)