// testdata.cc // Implements the data generation routines declared in testdata.h. #ifndef TESTDATA_CC #define TESTDATA_CC #include "testdata.h" int random_matrix(const short& rows, const short& columns, const Integer& lower_bound, const Integer& upper_bound, ofstream& MATRIX) { // check arguments if(rows<=0) { cerr<<"ERROR: int random_matrix(const short&, const short&, \n" " const Integer&, const Integer&, ofstream&):\n" "first argument out of range: number of matrix rows must be positive" <