#include "marMatrix.h"
#include <assert.h>
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &os, const marMatrix &m) |
std::ostream& operator<< | ( | std::ostream & | os, | |
const marMatrix & | m | |||
) |
Definition at line 87 of file marMatrix.cpp.
References marMatrix::_data, marMatrix::_size1, and marMatrix::_size2.
00088 { 00089 int i,j; 00090 for (i =0;i<m._size1;i++) 00091 { 00092 for (j =0;j<m._size2;j++) 00093 { 00094 os << " " << m._data[i*m._size2+j]; 00095 } 00096 os << "\n"; 00097 } 00098 return(os); 00099 }