Main Page | Modules | Namespace List | Class Hierarchy | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages

DenseReader Class Template Reference

#include <generic-dense.h>

Inheritance diagram for DenseReader:

MatrixStreamReader

template<class Field>
class LinBox::DenseReader< Field >


Public Types

typedef MatrixStreamReader<
Field >::Element 
Element

Public Member Functions

 DenseReader ()
bool isSparse () const
const char * getName () const

Protected Member Functions

MatrixStreamError nextTripleImpl (size_t &m, size_t &n, Element &v)
MatrixStreamError initImpl ()

Member Typedef Documentation

typedef MatrixStreamReader<Field>::Element Element
 

Reimplemented from MatrixStreamReader.


Constructor & Destructor Documentation

DenseReader  )  [inline]
 


Member Function Documentation

MatrixStreamError nextTripleImpl size_t &  m,
size_t &  n,
Element v
[inline, protected, virtual]
 

Read the next triple of row index, column index, value and store it in the given references.

Returns:
A MatrixStreamError indicating the success or failure of the operation

Implements MatrixStreamReader.

MatrixStreamError initImpl  )  [inline, protected, virtual]
 

Read the beginning (header) of the matrix from the stream and attempt to determine if it is of this reader's type.

Returns:
A MatrixStreamError indicating the success or failure of the operation

Implements MatrixStreamReader.

bool isSparse  )  const [inline, virtual]
 

Determine if this format is sparse or dense.

Returns:
true if it is a sparse format, false if it is a dense one

Implements MatrixStreamReader.

const char* getName  )  const [inline, virtual]
 

Get a unique string describing this format.

Implements MatrixStreamReader.


Generated on Fri Jul 8 10:29:57 2005 for linbox by doxygen 1.3.7