Go to the source code of this file.
std::ostream& operator<< |
( |
std::ostream & |
s, |
|
|
const dgrmatrix & |
mat |
|
) |
| |
|
inline |
Definition at line 60 of file dgrmatrix-io.hpp.
References dgrmatrix::a, i(), dgrmatrix::ia, dgrmatrix::ja, dgrmatrix::m, and dgrmatrix::n.
62 for(CPPL_INT
i=0;
i<mat.
m;
i++){
63 int k_beg =mat.
ia[
i]-1;
64 int k_end =mat.
ia[
i+1]-1;
66 for(
int k=k_beg; k<k_end; k++){
68 for(; j<mat.
ja[k]-1; j++){
std::vector< double > a
matrix component values
std::vector< CPPL_INT > ia
rowIndex (NOT zero-based BUT one-based indexing)
_dgematrix i(const _dgbmatrix &mat)
CPPL_INT n
matrix column size
CPPL_INT m
matrix row size
std::vector< CPPL_INT > ja
columns (NOT zero-based BUT one-based indexing)