// array.h // (C) Copyright Sky Coyote, 1996 // Use and distribute as you see fit class array_type { public: array_type(int r, int c); virtual ~array_type(); int rows; int cols; double *data; double get_elem(int r, int c); void set_elem(int r, int c, double x); void print(void); void matmul(array_type *, array_type *); void copy(array_type *); void matinv(array_type *); void set_rand(void); };