The class LinBox::Dense builds on this base.
Currently, only dense vectors are supported when doing matrix-vector applies.
|
Column of rows iterator |
The column of rows iterator traverses the rows of the matrix in ascending order. Dereferencing the iterator yields a row vector in dense format
|
typedef Subvector< typename
Rep::iterator, typename Rep::const_iterator > | Row |
typedef Subvector< typename
Rep::const_iterator > | ConstRow |
RowIterator | rowBegin () |
RowIterator | rowEnd () |
ConstRowIterator | rowBegin () const |
ConstRowIterator | rowEnd () const |
Row of columns iterator |
The row of columns iterator traverses the columns of the matrix in ascending order. Dereferencing the iterator yields a column vector in dense format
|
typedef Subvector< Subiterator<
typename Rep::iterator > > | Col |
typedef Subvector< Subiterator<
typename Rep::const_iterator > > | ConstCol |
typedef Col | Column |
typedef ConstCol | ConstColumn |
typedef Rep::iterator | RawIterator |
typedef Rep::const_iterator | ConstRawIterator |
ColIterator | colBegin () |
ColIterator | colEnd () |
ConstColIterator | colBegin () const |
ConstColIterator | colEnd () const |
RawIterator | rawBegin () |
RawIterator | rawEnd () |
ConstRawIterator | rawBegin () const |
ConstRawIterator | rawEnd () const |
RawIndexedIterator | rawIndexedBegin () |
RawIndexedIterator | rawIndexedEnd () |
ConstRawIndexedIterator | rawIndexedBegin () const |
ConstRawIndexedIterator | rawIndexedEnd () const |
Row | operator[] (size_t i) |
ConstRow | operator[] (size_t i) const |
template<class Vector> Vector & | columnDensity (Vector &v) const |
std::vector< Element > | _rep |
size_t | _rows |
size_t | _cols |
Element * | _ptr |
Public Member Functions |
| DenseMatrixBase (size_t m, size_t n) |
template<class Field> | DenseMatrixBase (MatrixStream< Field > &ms) |
Element * | FullIterator () const |
size_t | rowdim () const |
size_t | coldim () const |
void | resize (size_t m, size_t n, const Element &val=Element()) |
template<class Field> std::istream & | read (std::istream &file, const Field &F) |
template<class Field> std::ostream & | write (std::ostream &os, const Field &F) const |
void | setEntry (size_t i, size_t j, const Element &a_ij) |
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 |