marMatrix.cpp File Reference

#include "marMatrix.h"
#include <assert.h>
Include dependency graph for marMatrix.cpp:

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const marMatrix &m)

Function Documentation

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 }


Generated on 18 Mar 2010 for creaMaracasVisu_lib by  doxygen 1.6.1