#ifndef __H_MATRIX_H__ #define __H_MATRIX_H__ #include using namespace std; template class matrix { public: matrix(int rows, int cols):array(rows) { for (int i=0; i & operator[](int row)const { return a