BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
DifComplex Class Reference

#include <DifComplex.h>

Public Member Functions

 DifComplex ()
 
 DifComplex (const DifNumber &r)
 
 DifComplex (double r)
 
 DifComplex (const DifNumber &r, const DifNumber &i)
 
 DifComplex (double r, double i)
 
 DifComplex (const DifComplex &c)
 
const DifNumberreal () const
 
DifNumbergimeReal ()
 
const DifNumberimag () const
 
DifNumbergimeImag ()
 
void setReal (const DifNumber &r)
 
void setImag (const DifNumber &i)
 
DifComplexoperator+= (const DifComplex &a)
 
DifComplexoperator-= (const DifComplex &a)
 
DifComplexoperator*= (const DifComplex &a)
 
DifComplexoperator/= (const DifComplex &a)
 
DifComplexoperator/= (const DifNumber &a)
 
DifComplexoperator= (const DifComplex &a)
 
DifComplex operator- () const
 
DifComplexconjugate ()
 
DifComplexinverse ()
 
DifComplexflipsign ()
 
DifComplextakeLog ()
 
DifComplexpower (const DifNumber &p)
 
DifComplexpower (const DifComplex &p)
 
DifNumber mag () const
 
DifNumber magsq () const
 
DifNumber arg () const
 
DifNumber phase () const
 
void print () const
 
virtual ~DifComplex ()
 
 DifComplex ()
 
 DifComplex (const DifNumber &r)
 
 DifComplex (double r)
 
 DifComplex (const DifNumber &r, const DifNumber &i)
 
 DifComplex (double r, double i)
 
 DifComplex (const DifComplex &c)
 
const DifNumberreal () const
 
DifNumbergimeReal ()
 
const DifNumberimag () const
 
DifNumbergimeImag ()
 
void setReal (const DifNumber &r)
 
void setImag (const DifNumber &i)
 
DifComplexoperator+= (const DifComplex &a)
 
DifComplexoperator-= (const DifComplex &a)
 
DifComplexoperator*= (const DifComplex &a)
 
DifComplexoperator/= (const DifComplex &a)
 
DifComplexoperator/= (const DifNumber &a)
 
DifComplexoperator= (const DifComplex &a)
 
DifComplex operator- () const
 
DifComplexconjugate ()
 
DifComplexinverse ()
 
DifComplexflipsign ()
 
DifComplextakeLog ()
 
DifComplexpower (const DifNumber &p)
 
DifComplexpower (const DifComplex &p)
 
DifNumber mag () const
 
DifNumber magsq () const
 
DifNumber arg () const
 
DifNumber phase () const
 
void print () const
 
virtual ~DifComplex ()
 

Friends

DifComplex operator+ (const DifComplex &a, const DifComplex &b)
 
DifComplex operator- (const DifComplex &a, const DifComplex &b)
 
DifComplex operator* (const DifComplex &a, const DifComplex &b)
 
DifComplex operator/ (const DifComplex &a, const DifComplex &b)
 
bool operator== (const DifComplex &a, const DifComplex &b)
 
bool operator!= (const DifComplex &a, const DifComplex &b)
 
DifComplex sin (const DifComplex &a)
 
DifComplex cos (const DifComplex &a)
 
DifComplex tan (const DifComplex &a)
 
DifComplex sec (const DifComplex &a)
 
DifComplex asin (const DifComplex &a)
 
DifComplex acos (const DifComplex &a)
 
DifComplex atan (const DifComplex &a)
 
DifComplex atan2 (const DifComplex &a, const DifComplex &b)
 
DifComplex exp (const DifComplex &a)
 
DifComplex cosh (const DifComplex &a)
 
DifComplex sinh (const DifComplex &a)
 
DifComplex tanh (const DifComplex &a)
 
DifComplex sqrt (const DifComplex &a)
 
DifComplex log (const DifComplex &a)
 
DifComplex pow (const DifComplex &a, const DifComplex &p)
 
DifComplex pow (const DifComplex &a, const DifNumber &p)
 
DifComplex cc (const DifComplex &a)
 
DifComplex fromPolar (const DifNumber &mag, const DifNumber &phase)
 
DifComplex operator+ (const DifComplex &a, const DifComplex &b)
 
DifComplex operator- (const DifComplex &a, const DifComplex &b)
 
DifComplex operator* (const DifComplex &a, const DifComplex &b)
 
DifComplex operator/ (const DifComplex &a, const DifComplex &b)
 
bool operator== (const DifComplex &a, const DifComplex &b)
 
bool operator!= (const DifComplex &a, const DifComplex &b)
 
DifComplex sin (const DifComplex &a)
 
DifComplex cos (const DifComplex &a)
 
DifComplex tan (const DifComplex &a)
 
DifComplex sec (const DifComplex &a)
 
DifComplex asin (const DifComplex &a)
 
DifComplex acos (const DifComplex &a)
 
DifComplex atan (const DifComplex &a)
 
DifComplex atan2 (const DifComplex &a, const DifComplex &b)
 
DifComplex exp (const DifComplex &a)
 
DifComplex cosh (const DifComplex &a)
 
DifComplex sinh (const DifComplex &a)
 
DifComplex tanh (const DifComplex &a)
 
DifComplex sqrt (const DifComplex &a)
 
DifComplex log (const DifComplex &a)
 
DifComplex pow (const DifComplex &a, const DifComplex &p)
 
DifComplex pow (const DifComplex &a, const DifNumber &p)
 
DifComplex cc (const DifComplex &a)
 
DifComplex fromPolar (const DifNumber &mag, const DifNumber &phase)
 

Detailed Description

Constructor & Destructor Documentation

◆ DifComplex() [1/12]

DifComplex::DifComplex ( )
inline

◆ DifComplex() [2/12]

DifComplex::DifComplex ( const DifNumber r)
inline

◆ DifComplex() [3/12]

DifComplex::DifComplex ( double  r)
inline

◆ DifComplex() [4/12]

DifComplex::DifComplex ( const DifNumber r,
const DifNumber i 
)
inline

◆ DifComplex() [5/12]

DifComplex::DifComplex ( double  r,
double  i 
)
inline

◆ DifComplex() [6/12]

DifComplex::DifComplex ( const DifComplex c)
inline

◆ ~DifComplex() [1/2]

virtual DifComplex::~DifComplex ( )
inlinevirtual

◆ DifComplex() [7/12]

DifComplex::DifComplex ( )
inline

◆ DifComplex() [8/12]

DifComplex::DifComplex ( const DifNumber r)
inline

◆ DifComplex() [9/12]

DifComplex::DifComplex ( double  r)
inline

◆ DifComplex() [10/12]

DifComplex::DifComplex ( const DifNumber r,
const DifNumber i 
)
inline

◆ DifComplex() [11/12]

DifComplex::DifComplex ( double  r,
double  i 
)
inline

◆ DifComplex() [12/12]

DifComplex::DifComplex ( const DifComplex c)
inline

◆ ~DifComplex() [2/2]

virtual DifComplex::~DifComplex ( )
inlinevirtual

Member Function Documentation

◆ arg() [1/2]

DifNumber DifComplex::arg ( ) const
inline

Referenced by phase().

◆ arg() [2/2]

DifNumber DifComplex::arg ( ) const
inline

◆ conjugate() [1/2]

DifComplex & DifComplex::conjugate ( )
inline

◆ conjugate() [2/2]

DifComplex & DifComplex::conjugate ( )
inline

◆ flipsign() [1/2]

DifComplex & DifComplex::flipsign ( )
inline

◆ flipsign() [2/2]

DifComplex & DifComplex::flipsign ( )
inline

◆ gimeImag() [1/2]

DifNumber & DifComplex::gimeImag ( )
inline

Definition at line 48 of file InstallArea/include/MdcRecoUtil/MdcRecoUtil/DifComplex.h.

48{return _i;}

◆ gimeImag() [2/2]

DifNumber & DifComplex::gimeImag ( )
inline

◆ gimeReal() [1/2]

DifNumber & DifComplex::gimeReal ( )
inline

Definition at line 46 of file InstallArea/include/MdcRecoUtil/MdcRecoUtil/DifComplex.h.

46{return _r;}

◆ gimeReal() [2/2]

DifNumber & DifComplex::gimeReal ( )
inline

◆ imag() [1/2]

const DifNumber & DifComplex::imag ( ) const
inline

Definition at line 47 of file InstallArea/include/MdcRecoUtil/MdcRecoUtil/DifComplex.h.

47{return _i;}

◆ imag() [2/2]

const DifNumber & DifComplex::imag ( ) const
inline

◆ inverse() [1/2]

DifComplex & DifComplex::inverse ( )
inline

◆ inverse() [2/2]

DifComplex & DifComplex::inverse ( )
inline

◆ mag() [1/2]

DifNumber DifComplex::mag ( ) const
inline

◆ mag() [2/2]

DifNumber DifComplex::mag ( ) const
inline

◆ magsq() [1/2]

DifNumber DifComplex::magsq ( ) const
inline

◆ magsq() [2/2]

DifNumber DifComplex::magsq ( ) const
inline

◆ operator*=() [1/2]

DifComplex & DifComplex::operator*= ( const DifComplex a)
inline

◆ operator*=() [2/2]

DifComplex & DifComplex::operator*= ( const DifComplex a)
inline

◆ operator+=() [1/2]

DifComplex & DifComplex::operator+= ( const DifComplex a)
inline

◆ operator+=() [2/2]

DifComplex & DifComplex::operator+= ( const DifComplex a)
inline

◆ operator-() [1/2]

DifComplex DifComplex::operator- ( ) const
inline

◆ operator-() [2/2]

DifComplex DifComplex::operator- ( ) const
inline

◆ operator-=() [1/2]

DifComplex & DifComplex::operator-= ( const DifComplex a)
inline

◆ operator-=() [2/2]

DifComplex & DifComplex::operator-= ( const DifComplex a)
inline

◆ operator/=() [1/4]

DifComplex & DifComplex::operator/= ( const DifComplex a)
inline

◆ operator/=() [2/4]

DifComplex & DifComplex::operator/= ( const DifComplex a)
inline

◆ operator/=() [3/4]

DifComplex & DifComplex::operator/= ( const DifNumber a)
inline

◆ operator/=() [4/4]

DifComplex & DifComplex::operator/= ( const DifNumber a)
inline

◆ operator=() [1/2]

DifComplex & DifComplex::operator= ( const DifComplex a)
inline

◆ operator=() [2/2]

DifComplex & DifComplex::operator= ( const DifComplex a)
inline

◆ phase() [1/2]

DifNumber DifComplex::phase ( ) const
inline

Definition at line 75 of file InstallArea/include/MdcRecoUtil/MdcRecoUtil/DifComplex.h.

75{return arg();} // a rose by ...
DifNumber arg() const

◆ phase() [2/2]

DifNumber DifComplex::phase ( ) const
inline

Definition at line 75 of file Reconstruction/MdcPatRec/MdcRecoUtil/MdcRecoUtil-00-01-08/MdcRecoUtil/DifComplex.h.

75{return arg();} // a rose by ...

◆ power() [1/4]

DifComplex & DifComplex::power ( const DifComplex p)
inline

◆ power() [2/4]

DifComplex & DifComplex::power ( const DifComplex p)
inline

◆ power() [3/4]

DifComplex & DifComplex::power ( const DifNumber p)
inline

◆ power() [4/4]

DifComplex & DifComplex::power ( const DifNumber p)
inline

◆ print() [1/2]

void DifComplex::print ( ) const
inline

◆ print() [2/2]

void DifComplex::print ( ) const
inline

◆ real() [1/2]

const DifNumber & DifComplex::real ( ) const
inline

Definition at line 45 of file InstallArea/include/MdcRecoUtil/MdcRecoUtil/DifComplex.h.

45{return _r;}

◆ real() [2/2]

const DifNumber & DifComplex::real ( ) const
inline

◆ setImag() [1/2]

void DifComplex::setImag ( const DifNumber i)
inline

Definition at line 52 of file InstallArea/include/MdcRecoUtil/MdcRecoUtil/DifComplex.h.

52{_i=i;}

◆ setImag() [2/2]

void DifComplex::setImag ( const DifNumber i)
inline

◆ setReal() [1/2]

void DifComplex::setReal ( const DifNumber r)
inline

Definition at line 51 of file InstallArea/include/MdcRecoUtil/MdcRecoUtil/DifComplex.h.

51{_r=r;}

◆ setReal() [2/2]

void DifComplex::setReal ( const DifNumber r)
inline

◆ takeLog() [1/2]

DifComplex & DifComplex::takeLog ( )
inline

◆ takeLog() [2/2]

DifComplex & DifComplex::takeLog ( )
inline

Friends And Related Function Documentation

◆ acos [1/2]

DifComplex acos ( const DifComplex a)
friend

◆ acos [2/2]

DifComplex acos ( const DifComplex a)
friend

◆ asin [1/2]

DifComplex asin ( const DifComplex a)
friend

◆ asin [2/2]

DifComplex asin ( const DifComplex a)
friend

◆ atan [1/2]

DifComplex atan ( const DifComplex a)
friend

◆ atan [2/2]

DifComplex atan ( const DifComplex a)
friend

◆ atan2 [1/2]

DifComplex atan2 ( const DifComplex a,
const DifComplex b 
)
friend

◆ atan2 [2/2]

DifComplex atan2 ( const DifComplex a,
const DifComplex b 
)
friend

◆ cc [1/2]

DifComplex cc ( const DifComplex a)
friend

◆ cc [2/2]

DifComplex cc ( const DifComplex a)
friend

◆ cos [1/2]

DifComplex cos ( const DifComplex a)
friend

◆ cos [2/2]

DifComplex cos ( const DifComplex a)
friend

◆ cosh [1/2]

DifComplex cosh ( const DifComplex a)
friend

◆ cosh [2/2]

DifComplex cosh ( const DifComplex a)
friend

◆ exp [1/2]

DifComplex exp ( const DifComplex a)
friend

◆ exp [2/2]

DifComplex exp ( const DifComplex a)
friend

◆ fromPolar [1/2]

DifComplex fromPolar ( const DifNumber mag,
const DifNumber phase 
)
friend

◆ fromPolar [2/2]

DifComplex fromPolar ( const DifNumber mag,
const DifNumber phase 
)
friend

◆ log [1/2]

DifComplex log ( const DifComplex a)
friend

◆ log [2/2]

DifComplex log ( const DifComplex a)
friend

◆ operator!= [1/2]

bool operator!= ( const DifComplex a,
const DifComplex b 
)
friend

◆ operator!= [2/2]

bool operator!= ( const DifComplex a,
const DifComplex b 
)
friend

◆ operator* [1/2]

DifComplex operator* ( const DifComplex a,
const DifComplex b 
)
friend

◆ operator* [2/2]

DifComplex operator* ( const DifComplex a,
const DifComplex b 
)
friend

◆ operator+ [1/2]

DifComplex operator+ ( const DifComplex a,
const DifComplex b 
)
friend

◆ operator+ [2/2]

DifComplex operator+ ( const DifComplex a,
const DifComplex b 
)
friend

◆ operator- [1/2]

DifComplex operator- ( const DifComplex a,
const DifComplex b 
)
friend

◆ operator- [2/2]

DifComplex operator- ( const DifComplex a,
const DifComplex b 
)
friend

◆ operator/ [1/2]

DifComplex operator/ ( const DifComplex a,
const DifComplex b 
)
friend

◆ operator/ [2/2]

DifComplex operator/ ( const DifComplex a,
const DifComplex b 
)
friend

◆ operator== [1/2]

bool operator== ( const DifComplex a,
const DifComplex b 
)
friend

◆ operator== [2/2]

bool operator== ( const DifComplex a,
const DifComplex b 
)
friend

◆ pow [1/4]

DifComplex pow ( const DifComplex a,
const DifComplex p 
)
friend

◆ pow [2/4]

DifComplex pow ( const DifComplex a,
const DifComplex p 
)
friend

◆ pow [3/4]

DifComplex pow ( const DifComplex a,
const DifNumber p 
)
friend

◆ pow [4/4]

DifComplex pow ( const DifComplex a,
const DifNumber p 
)
friend

◆ sec [1/2]

DifComplex sec ( const DifComplex a)
friend

◆ sec [2/2]

DifComplex sec ( const DifComplex a)
friend

◆ sin [1/2]

DifComplex sin ( const DifComplex a)
friend

◆ sin [2/2]

DifComplex sin ( const DifComplex a)
friend

◆ sinh [1/2]

DifComplex sinh ( const DifComplex a)
friend

◆ sinh [2/2]

DifComplex sinh ( const DifComplex a)
friend

◆ sqrt [1/2]

DifComplex sqrt ( const DifComplex a)
friend

◆ sqrt [2/2]

DifComplex sqrt ( const DifComplex a)
friend

◆ tan [1/2]

DifComplex tan ( const DifComplex a)
friend

◆ tan [2/2]

DifComplex tan ( const DifComplex a)
friend

◆ tanh [1/2]

DifComplex tanh ( const DifComplex a)
friend

◆ tanh [2/2]

DifComplex tanh ( const DifComplex a)
friend

The documentation for this class was generated from the following files: