#ifndef _matrix_h_ #define _matrix_h_ typedef double ValType; /* tipo in virgola mobile */ class Matrix { public: Matrix(int nrows, int ncols); ~Matrix(); ValType & Value(int i, int j); // il metodo ValType sostituisce i corrispondenti Set/Get void Print(); private: int _nrows, _ncols; ValType *_values; }; #endif