AbstractLinAlgPack_COOMatrixIn.hpp File Reference

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

Include dependency graph for AbstractLinAlgPack_COOMatrixIn.hpp:

Go to the source code of this file.


namespace  AbstractLinAlgPack


std::istream & operator>> (std::istream &istrm, COOMatrix &coom)
 Inputstream stream operator for COOMatrix.

Function Documentation

std::istream & AbstractLinAlgPack::operator>> std::istream &  istrm,
COOMatrix &  coom

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.

Definition at line 54 of file AbstractLinAlgPack_COOMatrixIn.hpp.

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