#ifndef INCLUDE_CWEIGHT #define INCLUDE_CWEIGHT #include "pattern.h" #include "C.h" #include "cmatrix.h" class Cweight{ private: int N ; vector W ; public: Cweight( int n ) ; void projection( const vector& data ) ; Complex get( int j , int i ) const { return W[ j * N + i ] ;} }; #endif