Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- friend ostream& operator << (ostream & output, Matrix<T>& o)
- {
- for (unsigned int x = 0;x<o.rows;x++)
- {
- for (unsigned int y = 0;y<o.cols;y++)
- {
- output << setprecision(3) << left << setw(10) << o.matrix[x][y];
- }
- output << endl;
- }
- return output;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement