Include dependency graph for AbstractLinAlgPack_COOMatrixOutFunc.hpp:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
|std::ostream &||output (std::ostream &o, const COOMatrix &coom)|
|Output stream function for COOMatrix. |
Output stream function for COOMatrix.
The format for the output 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 are no spaces between the numbers and the \':\' charachter and there is one whitespace character between elements. There is a new line character added after all of the elements have been output.