63 {
re=
c;
im=0.;
return *
this; }
66 {
re+=
c;
return *
this; }
68 {
re-=
c;
return *
this;}
70 {
re*=
c;
im*=
c;
return *
this;}
72 {
re/=
c;
im/=
c;
return *
this;}
virtual wavecomplex operator/(const wavecomplex &)
wavearray< double > a(hp.size())
cout<< endl;cout<< "ts size = "<< ts.size()<< " ts rate = "<< ts.rate()<< endl;tf.Forward(ts, wdm);int levels=tf.getLevel();cout<< "tf size = "<< tf.size()<< endl;double dF=tf.resolution();double dT=1./(2 *dF);cout<< "rate(hz) : "<< RATE<< "\t layers : "<< nLAYERS<< "\t dF(hz) : "<< dF<< "\t dT(ms) : "<< dT *1000.<< endl;int itime=TIME_PIXEL_INDEX;int ifreq=FREQ_PIXEL_INDEX;int index=(levels+1)*itime+ifreq;double time=itime *dT;double freq=(ifreq >0)?ifreq *dF:dF/4;cout<< endl;cout<< "PIXEL TIME = "<< time<< " sec "<< endl;cout<< "PIXEL FREQ = "<< freq<< " Hz "<< endl;cout<< endl;wavearray< double > x
virtual wavecomplex operator+(const wavecomplex &)
wavecomplex & operator=(const wavecomplex &)
virtual wavecomplex & operator*=(const wavecomplex &)
virtual wavecomplex & operator-=(const wavecomplex &)
virtual wavecomplex operator-(const wavecomplex &)
virtual wavecomplex & operator/=(const wavecomplex &)
virtual wavecomplex & operator+=(const wavecomplex &)
virtual wavecomplex operator*(const wavecomplex &)