AbstractLinAlgPack_COOMatrixOutFunc.hpp File Reference

#include <ostream>
#include "AbstractLinAlgPack_Types.hpp"

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.


namespace  AbstractLinAlgPack


std::ostream & output (std::ostream &o, const COOMatrix &coom)
 Output stream function for COOMatrix.

Function Documentation

std::ostream & AbstractLinAlgPack::output std::ostream &  o,
const COOMatrix &  coom

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.

Definition at line 32 of file AbstractLinAlgPack_COOMatrixOutFunc.cpp.

Generated on Thu Sep 18 12:35:21 2008 for MOOCHO (Single Doxygen Collection) by doxygen