|
void | transposeIn () |
| In place transpose. More...
|
|
Self_t & | transpose (Self_t &S) const |
| Transpose the matrix. More...
|
|
size_t | rowdim () const |
| number of rows. More...
|
|
size_t | coldim () const |
| number of columns. More...
|
|
size_t | size () const |
| Number of non zero elements in the matrix. More...
|
|
constElement & | getEntry (const size_t &i, const size_t &j) const |
| Get a read-only individual entry from the matrix. More...
|
|
void | finalize () |
| make matrix ready to use after a sequence of setEntry calls.
|
|
const Element & | setEntry (const size_t &i, const size_t &j, const Element &e) |
| Set an individual entry. More...
|
|
std::ostream & | write (std::ostream &os, Tag::FileFormat format=Tag::FileFormat::MatrixMarket) const |
| Write a matrix to the given output stream using field read/write. More...
|
|
std::istream & | read (std::istream &is, Tag::FileFormat format=Tag::FileFormat::Detect) |
| Read a matrix from the given input stream using field read/write. More...
|
|
bool | consistent () const |
|
|
| SparseMatrix (const _Field &F) |
| Constructors. More...
|
|
| SparseMatrix (const _Field &F, size_t m, size_t n) |
| Constructors. More...
|
|
| SparseMatrix (const _Field &F, size_t m, size_t n, size_t z) |
| Constructors. More...
|
|
| SparseMatrix (const SparseMatrix< _Field, SparseMatrixFormat::CSR > &S) |
| Constructors. More...
|
|
template<typename _Tp1 , typename _Rw1 > |
| SparseMatrix (const SparseMatrix< _Tp1, _Rw1 > &S, const Field &F) |
| Constructors. More...
|
|
template<class VectStream > |
| SparseMatrix (const _Field &F, VectStream &stream) |
|
| SparseMatrix (MatrixStream< Field > &ms) |
| Constructors. More...
|
|
void | resize (size_t nn) |
| Constructors. More...
|
|
void | resize (const size_t &mm, const size_t &nn, const size_t &zz=0) |
| Constructors. More...
|
|
template<class _OtherStorage > |
| SparseMatrix (const SparseMatrix< _Field, _OtherStorage > &S) |
| Default converter. More...
|
|
|
void | importe (const SparseMatrix< _Field, SparseMatrixFormat::COO > &S) |
| Conversions. More...
|
|
void | importe (const SparseMatrix< _Field, SparseMatrixFormat::CSR > &S) |
| Import a matrix in CSR format to CSR. More...
|
|
SparseMatrix< _Field, SparseMatrixFormat::CSR > & | exporte (SparseMatrix< _Field, SparseMatrixFormat::CSR > &S) |
| Export a matrix in CSR format from COO. More...
|
|
SparseMatrix< _Field, SparseMatrixFormat::COO > & | exporte (SparseMatrix< _Field, SparseMatrixFormat::COO > &S) |
| Conversions. More...
|
|
template<class _Field>
class LinBox::SparseMatrix< _Field, SparseMatrixFormat::CSR >
Sparse matrix, Coordinate storage.