Public Member Functions |
| | SparseMatrix (const Field &F, size_t m=0, size_t n=0) |
| template<class VectStream > |
| | SparseMatrix (const Field &F, VectStream &stream) |
| | SparseMatrix (MatrixStream< Field > &ms) |
| | SparseMatrix (const SparseMatrix< Field, Row > &B) |
| template<class VectorType > |
| | SparseMatrix (const SparseMatrix< Field, VectorType > &B) |
| | ~SparseMatrix () |
| template<class OutVector , class InVector > |
| OutVector & | apply (OutVector &y, const InVector &x) const |
| template<class OutVector , class InVector > |
| OutVector & | applyTranspose (OutVector &y, const InVector &x) const |
| size_t | rowdim () const |
| size_t | coldim () const |
| std::istream & | read (std::istream &is, FileFormatTag format=FORMAT_DETECT) |
| std::ostream & | write (std::ostream &os, FileFormatTag format=FORMAT_PRETTY) const |
| const Field & | field () const |
| | SparseMatrixBase (size_t m, size_t n) |
| | SparseMatrixBase (MatrixStream< Field > &ms) |
| | SparseMatrixBase (const SparseMatrixBase< Element, Row, Trait > &A) |
| | SparseMatrixBase (const SparseMatrixBase< Element, VectorType, Trait > &A) |
| | ~SparseMatrixBase () |
| size_t | size () const |
| std::istream & | read (std::istream &is, const Field &F, FileFormatTag format=FORMAT_DETECT) |
| std::ostream & | write (std::ostream &os, const Field &F, FileFormatTag format=FORMAT_PRETTY) const |
| void | setEntry (size_t i, size_t j, const Element &value) |
| Element & | refEntry (size_t i, size_t j) |
| const Element & | getEntry (size_t i, size_t j) const |
| Element & | getEntry (Element &x, size_t i, size_t j) const |
|
RawIterator | rawBegin () |
|
ConstRawIterator | rawBegin () const |
|
RawIterator | rawEnd () |
|
ConstRawIterator | rawEnd () const |
|
RowIterator | rowBegin () |
|
ConstRowIterator | rowBegin () const |
|
RowIterator | rowEnd () |
|
ConstRowIterator | rowEnd () const |
|
RawIndexedIterator | rawIndexedBegin () |
|
ConstRawIndexedIterator | rawIndexedBegin () const |
|
RawIndexedIterator | rawIndexedEnd () |
|
ConstRawIndexedIterator | rawIndexedEnd () const |
| Row & | getRow (size_t i) |
| Row & | operator[] (size_t i) |
| ConstRow & | operator[] (size_t i) const |
| Vector & | columnDensity (Vector &v) const |
| SparseMatrixBase & | transpose (SparseMatrixBase &AT) const |
template<class _Field, class _Row = typename LinBox::Vector<_Field>::Sparse>
class LinBox::SparseMatrix< _Field, _Row >
vector of sparse rows.
This is a generic black box for a sparse matrix. It inherits LinBox::SparseMatrixBase, which implements all of the underlying accessors and iterators.