CPPLapack
 All Classes Files Functions Variables Friends
Functions
dsymatrix-io.hpp File Reference

Go to the source code of this file.

Functions

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

Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const dsymatrix mat 
) [inline]

Definition at line 77 of file dsymatrix-io.hpp.

References i(), and dsymatrix::n.

{VERBOSE_REPORT;
  for(long i=0; i<mat.n; i++){
    for(long j=0; j<=i; j++){
      s << " " << mat(i,j) << " ";
    }
    for(long j=i+1; j<mat.n; j++){
      s << "{" << mat(i,j) << "}";
    }
    s << std::endl;
  }
  return s;
}
 All Classes Files Functions Variables Friends