#ifndef _matrix_h_ #define _matrix_h_ #include using namespace std; typedef double ValType; class Matrix { public: Matrix(int nrows, int ncols); ~Matrix(); int num_rows(); int num_cols(); ValType & operator()(int i, int j); // sostituisce il metodo Value private: int _nrows, _ncols; ValType *_values; }; ostream & operator << (ostream & os, Matrix & mat); // sostituisce il metodo Print #endif