Include dependency graph for AbstractLinAlgPack_COOMatrixIn.hpp:
Go to the source code of this file.
|std::istream &||operator>> (std::istream &istrm, COOMatrix &coom)|
|Inputstream stream operator for COOMatrix. |
Inputstream stream operator for COOMatrix.
The format for the imput is:
#m n nz#\ #a1:i1:j1 a2:i2:j2 .... anz:inz:jnz#\
In the above format, each non-zero element is given as a three item pair: value of the non-zero element, row indice (1-based) of the non-zero element, and the column indice (1-based) of the non-zero element. There must be no spaces between the numbers and the \':\' charachter and there must be at least one whitespace character between elements.