15 #include <vlutil/vlUtil.h>
30 : myRealPart (realPart), myImagPart (imagPart)
34 : myRealPart (orig.myRealPart), myImagPart (orig.myImagPart)
40 double realPart (
void)
const {
return myRealPart;};
41 double imagPart (
void)
const {
return myImagPart;};
42 double magnitude (
void)
const
43 {return ::sqrt (myRealPart * myRealPart + myImagPart * myImagPart);};
44 double angle (
void)
const {
return atan2 (myImagPart, myRealPart);};
60 void pow (
DtComplex * result,
int exponent)
const;
81 void divide (
DtComplex * result,
double denom)
const