Go to the source code of this file.
std::ostream& operator<< |
( |
std::ostream & |
s, |
|
|
const zgbmatrix & |
mat |
|
) |
| |
|
inline |
Definition at line 63 of file zgbmatrix-io.hpp.
References i(), zgbmatrix::kl, zgbmatrix::ku, zgbmatrix::m, and zgbmatrix::n.
65 for(CPPL_INT
i=0;
i<mat.
m;
i++){
66 for(CPPL_INT j=0; j<mat.
n; j++){
67 if(
i-j>mat.
kl || j-
i>mat.
ku ){ s <<
" x"; }
68 else{ s <<
" " << mat(
i,j); }
_dgematrix i(const _dgbmatrix &mat)
CPPL_INT n
matrix column size
CPPL_INT ku
upper band width
CPPL_INT m
matrix row size
CPPL_INT kl
lower band width