28 TComplex::TComplex(Double_t re, Double_t im, Bool_t polar) : fRe(re), fIm(im)
32 ::Warning(
"TComplex::ctor",
"Modulo of a complex number should be >=0, taking the abs");
35 fRe=re*TMath::Cos(im);
36 fIm=re*TMath::Sin(im);
42 std::ostream& operator<<(std::ostream& out,
const TComplex& c)
44 out <<
"(" << c.fRe <<
"," << c.fIm <<
"i)";
50 std::istream& operator>>(std::istream& in, TComplex& c)
57 std::string printValue(TComplex *c)