#ifndef INCLUDE_RWEIGHT #define INCLUDE_RWEIGHT #include "matrix.h" #include "vec2.h" class Rweight{ private: int N ; Matrix W ; public: Rweight( int n ) ; void projection( const vector& data ) ; // XW^T Matrix get( int j , int i ) const ; }; #endif