Before I go and implement my own version, I'm wondering if there is already a function/operator that will write a matrix to some stream.  I know I can just use the '<<' operator, but that puts everything on the same line.  I'm looking for something that formats the output so it looks like a traditional matrix.  Does such a function exist or do I need to write my own?

Thanks,
Jeremy