CPPLapack
 All Classes Files Functions Variables Friends Pages
Functions
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 63 of file dgematrix-io.hpp.

References i(), dgematrix::m, and dgematrix::n.

64 {CPPL_VERBOSE_REPORT;
65  for(CPPL_INT i=0; i<mat.m; i++){
66  for(CPPL_INT j=0; j<mat.n; j++){
67  s << " " << mat(i,j);
68  }
69  s << std::endl;
70  }
71  return s;
72 }
CPPL_INT m
matrix row size
Definition: dgematrix.hpp:9
_dgematrix i(const _dgbmatrix &mat)
CPPL_INT n
matrix column size
Definition: dgematrix.hpp:10