Main Page | Class List | File List | Class Members | File Members | Related Pages

_dgematrix-io.hpp File Reference

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &s, const _dgematrix &mat)


Function Documentation

std::ostream& operator<< std::ostream &  s,
const _dgematrix mat
[inline]
 

Definition at line 24 of file _dgematrix-io.hpp.

References _dgematrix::destroy(), _dgematrix::M, and _dgematrix::N.

00025 {
00026   for(long i=0; i<mat.M; i++){
00027     for(long j=0; j<mat.N; j++){
00028       s << " " << mat(i,j);
00029     }
00030     s << std::endl;
00031   }
00032   
00033   mat.destroy();
00034   return s;
00035 }


Generated on Sat Jan 31 19:25:44 2004 for CPPScaLapack by doxygen 1.3.5