28#include "MdcRecoUtil/DifNumber.h"
121 inline const DifNumber& R()
const {
return _r;}
122 inline const DifNumber& I()
const {
return _i;}
125#include "MdcRecoUtil/DifComplex.icc"
friend DifComplex sinh(const DifComplex &a)
DifComplex & power(const DifComplex &p)
const DifNumber & imag() const
friend DifComplex asin(const DifComplex &a)
friend DifComplex operator+(const DifComplex &a, const DifComplex &b)
friend DifComplex sin(const DifComplex &a)
friend DifComplex exp(const DifComplex &a)
void setImag(const DifNumber &i)
DifComplex & operator/=(const DifNumber &a)
friend DifComplex atan(const DifComplex &a)
friend DifComplex acos(const DifComplex &a)
friend bool operator==(const DifComplex &a, const DifComplex &b)
DifComplex(const DifComplex &c)
DifComplex & power(const DifNumber &p)
friend DifComplex cc(const DifComplex &a)
friend DifComplex atan2(const DifComplex &a, const DifComplex &b)
friend DifComplex operator/(const DifComplex &a, const DifComplex &b)
friend DifComplex operator-(const DifComplex &a, const DifComplex &b)
friend DifComplex fromPolar(const DifNumber &mag, const DifNumber &phase)
friend DifComplex pow(const DifComplex &a, const DifNumber &p)
friend bool operator!=(const DifComplex &a, const DifComplex &b)
friend DifComplex cosh(const DifComplex &a)
friend DifComplex sqrt(const DifComplex &a)
DifComplex & operator+=(const DifComplex &a)
DifComplex & operator=(const DifComplex &a)
DifComplex & operator/=(const DifComplex &a)
friend DifComplex tanh(const DifComplex &a)
friend DifComplex pow(const DifComplex &a, const DifComplex &p)
friend DifComplex log(const DifComplex &a)
friend DifComplex cos(const DifComplex &a)
DifComplex operator-() const
DifComplex & operator-=(const DifComplex &a)
friend DifComplex operator*(const DifComplex &a, const DifComplex &b)
friend DifComplex tan(const DifComplex &a)
friend DifComplex sec(const DifComplex &a)
const DifNumber & real() const
DifComplex & operator*=(const DifComplex &a)
DifComplex(const DifNumber &r)
DifComplex(const DifNumber &r, const DifNumber &i)
void setReal(const DifNumber &r)
DifComplex(double r, double i)