50 else { fRe =
x; fIm =
y; }
return *
this; }
63 {
return ((*
this) = (*
this) * c);}
65 {
return ((*
this) = (*
this) + c);}
67 {
return ((*
this) = (*
this) / c);}
69 {
return ((*
this) = (*
this) - c);}
128 {
return -0.5*
I()*
Log((1.+
I()*c)/(1.-
I()*c));}
144 {
return 0.5*
Log((1.+c)/(1.-c));}
178 {
return Max(lb,
Min(c,ub));}
friend std::ostream & operator<<(std::ostream &out, const TComplex &c)
TComplex operator/=(const TComplex &c)
static TComplex Power(const TComplex &x, Double_t y)
static TComplex ACosH(const TComplex &c)
static TComplex ASinH(const TComplex &c)
static TComplex Power(Double_t x, const TComplex &y)
static TComplex Normalize(const TComplex &c)
static TComplex Exp(const TComplex &c)
Short_t Min(Short_t a, Short_t b)
TComplex operator-=(const TComplex &c)
static TComplex Tan(const TComplex &c)
static TComplex Power(const TComplex &x, const TComplex &y)
LongDouble_t Power(LongDouble_t x, LongDouble_t y)
TComplex operator*=(const TComplex &c)
static TComplex CosH(const TComplex &c)
static TComplex ACos(const TComplex &c)
#define ClassDef(name, id)
static TComplex Log2(const TComplex &c)
static TComplex Range(const TComplex &lb, const TComplex &ub, const TComplex &c)
static TComplex Cos(const TComplex &c)
Int_t Finite(Double_t x)
Check if it is finite with a mask in order to be consistent in presence of fast math.
Double_t ATan2(Double_t, Double_t)
static TComplex Power(const TComplex &x, Int_t y)
static TComplex Conjugate(const TComplex &c)
friend std::istream & operator>>(std::istream &in, TComplex &c)
static TComplex TanH(const TComplex &c)
TComplex operator*(const TComplex &c) const
static TComplex Log(const TComplex &c)
static Int_t Finite(const TComplex &c)
static Double_t Abs(const TComplex &c)
static TComplex ASin(const TComplex &c)
TComplex operator/(const TComplex &c) const
static TComplex ATanH(const TComplex &c)
static TComplex ATan(const TComplex &c)
static TComplex Max(const TComplex &a, const TComplex &b)
static TComplex Min(const TComplex &a, const TComplex &b)
TComplex operator()(Double_t x, Double_t y, Bool_t polar=kFALSE)
static TComplex Log10(const TComplex &c)
static Int_t IsNaN(const TComplex &c)
static TComplex Sin(const TComplex &c)
static TComplex Sqrt(const TComplex &c)
you should not use this method at all Int_t Int_t Double_t Double_t Double_t Int_t Double_t Double_t Double_t Double_t b
static TComplex SinH(const TComplex &c)
Double_t Sqrt(Double_t x)
TComplex operator+=(const TComplex &c)