www.pudn.com > AudioWave.rar > Complex.h


// Complex.h: interface for the CComplex class. 
// 
////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_COMPLEX_H__28505FA2_9C02_11D3_AD15_5254ABDDD71D__INCLUDED_) 
#define AFX_COMPLEX_H__28505FA2_9C02_11D3_AD15_5254ABDDD71D__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
  
class CComplex   
{ 
public: 
	double Arg(); 
	double Module(); 
	CComplex operator * (CComplex second); 
	CComplex operator * (double mivb); 
	CComplex operator - (CComplex second); 
	CComplex operator + (CComplex second); 
	CComplex operator / (CComplex second); 
	CComplex operator / (double divb); 
	CComplex operator = (CComplex second); 
	double m_dReal; 
	double m_dImag; 
	CComplex(); 
	virtual ~CComplex(); 
}; 
 
#endif // !defined(AFX_COMPLEX_H__28505FA2_9C02_11D3_AD15_5254ABDDD71D__INCLUDED_)