//------------------------------------------------------------------ // // corrfunc.h // // Header file for the CorrFunc class // // April 2001 // // Kostas Orginos // //------------------------------------------------------------------ #ifndef INCLUDED_CORRFUNC_H #define INCLUDED_CORRFUNC_H #include #include #include #include #include #include #include #include CPS_START_NAMESPACE class CorrFunc { Complex *func ; int Nt ; public: CorrFunc() ; // copy constructor CorrFunc(const CorrFunc& rhs) ; ~CorrFunc(){ sfree(func);} // "equal" operator for CorrFunc CorrFunc& operator=(const CorrFunc& rhs) ; CorrFunc& operator*=(const CorrFunc& rhs) ; CorrFunc& operator+=(const CorrFunc& rhs) ; CorrFunc& operator-=(const CorrFunc& rhs) ; CorrFunc& operator*=(const Float& r) ; CorrFunc& operator*=(const Complex& c) ; int TimeSize() const {return Nt;} // Output functions void print(FILE *fp) const { for(int t=0; t