Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

SparseMatrixBase< _Element, _Row, VectorCategories::SparseSequenceVectorTag > Class Template Reference

#include <sparse.h>

List of all members.

template<class _Element, class _Row>
class LinBox::SparseMatrixBase< _Element, _Row, VectorCategories::SparseSequenceVectorTag >


Public Types

typedef _Element Element
typedef _Row Row
typedef const Row ConstRow
typedef std::vector< RowRep
typedef Rep::iterator RowIterator
typedef Rep::const_iterator ConstRowIterator
typedef _RawIterator< typename
Rep::iterator, typename Row::iterator,
Element
RawIterator
typedef _RawIterator< typename
Rep::const_iterator, typename
Row::const_iterator, const
Element
ConstRawIterator
typedef _RawIndexedIterator<
typename Rep::iterator, typename
Row::iterator > 
RawIndexedIterator
typedef _RawIndexedIterator<
typename Rep::const_iterator,
typename Row::const_iterator > 
ConstRawIndexedIterator

Public Methods

 SparseMatrixBase (size_t m, size_t n)
 SparseMatrixBase (const SparseMatrixBase< Element, Row > &A)
 ~SparseMatrixBase ()
size_t rowdim () const
size_t coldim () const
template<class Field> std::istream & read (std::istream &is, const Field &F, FileFormatTag format=FORMAT_DETECT)
std::istream & read (std::istream &is, FileFormatTag format=FORMAT_DETECT)
template<class Field> std::ostream & write (std::ostream &os, const Field &F, FileFormatTag format=FORMAT_PRETTY) const
std::ostream & write (std::ostream &os, FileFormatTag format=FORMAT_PRETTY) const
std::ostream & write (std::ostream &) const
void setEntry (size_t i, size_t j, const Element &value)
ElementrefEntry (size_t i, size_t j)
const ElementgetEntry (size_t i, size_t j) const
ElementgetEntry (Element &x, size_t i, size_t j) const
ConstRowIterator rowBegin () const
ConstRowIterator rowEnd () const
RowIterator rowBegin ()
RowIterator rowEnd ()
RawIterator rawBegin ()
RawIterator rawEnd ()
ConstRawIterator rawBegin () const
ConstRawIterator rawEnd () const
RawIndexedIterator rawIndexedBegin ()
RawIndexedIterator rawIndexedEnd ()
ConstRawIndexedIterator rawIndexedBegin () const
ConstRawIndexedIterator rawIndexedEnd () const
RowgetRow (size_t i)
Rowoperator[] (size_t i)
ConstRowoperator[] (size_t i) const
template<class Vector> VectorcolumnDensity (Vector &v) const
SparseMatrixBasetranspose (SparseMatrixBase &AT) const

Protected Attributes

Rep _A
size_t _m
size_t _n

Friends

class SparseMatrixWriteHelper< Element, Row >
class SparseMatrixReadWriteHelper< Element, Row >

Member Typedef Documentation

typedef _RawIndexedIterator<typename Rep::const_iterator, typename Row::const_iterator> ConstRawIndexedIterator
 

typedef _RawIterator<typename Rep::const_iterator, typename Row::const_iterator, const Element> ConstRawIterator
 

typedef const Row ConstRow
 

typedef Rep::const_iterator ConstRowIterator
 

typedef _Element Element
 

typedef _RawIndexedIterator<typename Rep::iterator, typename Row::iterator> RawIndexedIterator
 

typedef _RawIterator<typename Rep::iterator, typename Row::iterator, Element> RawIterator
 

typedef std::vector<Row> Rep
 

typedef _Row Row
 

typedef Rep::iterator RowIterator
 


Constructor & Destructor Documentation

~SparseMatrixBase   [inline]
 


Member Function Documentation

size_t coldim   const [inline]
 

Vector& columnDensity Vector   v const
 

Element& getEntry Element   x,
size_t    i,
size_t    j
const [inline]
 

const Element& getEntry size_t    i,
size_t    j
const
 

Row& getRow size_t    i [inline]
 

ConstRow& operator[] size_t    i const [inline]
 

Row& operator[] size_t    i [inline]
 

ConstRawIterator rawBegin   const [inline]
 

RawIterator rawBegin   [inline]
 

ConstRawIterator rawEnd   const [inline]
 

RawIterator rawEnd   [inline]
 

ConstRawIndexedIterator rawIndexedBegin   const [inline]
 

RawIndexedIterator rawIndexedBegin   [inline]
 

ConstRawIndexedIterator rawIndexedEnd   const [inline]
 

RawIndexedIterator rawIndexedEnd   [inline]
 

std::istream& read std::istream &    is,
FileFormatTag    format = FORMAT_DETECT
[inline]
 

std::istream& read std::istream &    is,
const Field   F,
FileFormatTag    format = FORMAT_DETECT
[inline]
 

Element& refEntry size_t    i,
size_t    j
 

RowIterator rowBegin   [inline]
 

ConstRowIterator rowBegin   const [inline]
 

size_t rowdim   const [inline]
 

RowIterator rowEnd   [inline]
 

ConstRowIterator rowEnd   const [inline]
 

void setEntry size_t    i,
size_t    j,
const Element   value
 

SparseMatrixBase const SparseMatrixBase< Element, Row > &    A [inline]
 

SparseMatrixBase size_t    m,
size_t    n
[inline]
 

SparseMatrixBase& transpose SparseMatrixBase< _Element, _Row, VectorCategories::SparseSequenceVectorTag > &    AT const
 

std::ostream& write std::ostream &    const
 

std::ostream& write std::ostream &    os,
FileFormatTag    format = FORMAT_PRETTY
const [inline]
 

std::ostream& write std::ostream &    os,
const Field   F,
FileFormatTag    format = FORMAT_PRETTY
const [inline]
 


Friends And Related Function Documentation

friend class SparseMatrixReadWriteHelper< Element, Row > [friend]
 

friend class SparseMatrixWriteHelper< Element, Row > [friend]
 


Member Data Documentation

Rep _A [protected]
 

size_t _m [protected]
 

size_t _n [protected]
 


Generated on Mon Jun 20 09:16:55 2005 for linbox by doxygen1.2.18