#ifndef _PrintOp #define _PrintOp // Overload the cout operator for vectors template ostream & operator << (ostream &os, const Vector &v) { int n = v.Size(); #ifndef _VectorTabDelim if(n > 0) { /* Print Vector as comma-delimited */ os << "["; for(int i=0; i 0) { /* Print Vector as tab-delimited */ os << "["; for(int i=0; i ostream & operator << (ostream &os, const Matrix &A) { int m = A.Rows(); int n = A.Cols(); if(m > 0 && n > 0) { os << "\n"; for(int i=0; i