|
| | Submatrix (const BlasMatrix< Field > *Mat, size_t row, size_t col, size_t Rowdim, size_t Coldim) |
| | Constructor from an existing BlasMatrix and dimensions. More...
|
| |
| | Submatrix (const BlasMatrix< Field > &Mat, size_t row, size_t col, size_t Rowdim, size_t Coldim) |
| | Constructor from an existing BlasMatrix and dimensions. More...
|
| |
| | Submatrix (const Submatrix< BlasMatrix< Field > > *SM, size_t row, size_t col, size_t Rowdim, size_t Coldim) |
| | Constructor from an existing submatrix and dimensions. More...
|
| |
| | Submatrix (const Submatrix< BlasMatrix< Field > > &SM, size_t row, size_t col, size_t Rowdim, size_t Coldim) |
| | Constructor from an existing submatrix and dimensions. More...
|
| |
|
const Field & | field () const |
| | get the field
|
| |
|
std::istream & | read (std::istream &is) |
| | read
|
| |
|
std::ostream & | write (std::ostream &os) const |
| | write
|
| |
| template<class Vect1 , class Vect2 > |
| Vect1 & | apply (Vect1 &y, const Vect2 &x) const |
| | Generic matrix-vector apply y = A * x. More...
|
| |
| template<class Vect1 , class Vect2 > |
| Vect1 & | applyTranspose (Vect1 &y, const Vect2 &x) const |
| | Generic matrix-vector transpose apply y = A^T * x This version of applyTranspose allows use of arbitrary input and output vector types. More...
|
| |
|
BlasSubmatrix & | copy (const Matrix &B) |
| | This is deep copy of the data, operator= is a shallow copy.
|
| |
|
BlasSubmatrix & | swap (Self_t &B) |
| | Swap contents. Shapes must be the same.
|
| |
|
BlasSubmatrix & | zero () |
| | Overwrite with zeroes.
|
| |
|
void | random () |
| | Overwrite with random elements.
|
| |
| size_t | rowdim () const |
| | Get the number of rows in the matrix. More...
|
| |
| size_t | coldim () const |
| | Get the number of columns in the matrix. More...
|
| |
| size_t | getStride () const |
| | Get the stride of the matrix. More...
|
| |
| std::ostream & | write (std::ostream &os, Tag::FileFormat f=Tag::FileFormat::MatrixMarket) const |
| | Write the matrix to an output stream. More...
|
| |
|
pointer | getPointer () |
| |
|
| |
|
pointer | getWritePointer () |
| |
|
| |
| const Element & | setEntry (size_t i, size_t j, const Element &a_ij) |
| | Set the entry at (i, j). More...
|
| |
| Element & | refEntry (size_t i, size_t j) |
| | Get a writeable reference to an entry in the matrix. More...
|
| |
| const Element & | getEntry (size_t i, size_t j) const |
| | Get a read-only individual entry from the matrix. More...
|
| |
| Element & | getEntry (Element &x, size_t i, size_t j) const |
| | Get an entry and store it in the given value. More...
|
| |
|
The columns iterator gives the columns of the matrix in ascending order.
Dereferencing the iterator yields a column vector in dense format
|
|
typedef matrixType::ColIterator | ColIterator |
| | iterator to the begining of a row
|
| |
|
typedef matrixType::ConstColIterator | ConstColIterator |
| | iterator to the begining of a row
|
| |
|
typedef matrixType::Col | Col |
| | iterator to the begining of a row
|
| |
|
typedef matrixType::Column | Column |
| | iterator to the begining of a row
|
| |
|
typedef matrixType::ConstCol | ConstCol |
| | iterator to the begining of a row
|
| |
|
RowIterator | rowBegin () |
| | iterator to the begining of a row
|
| |
|
ConstRowIterator | rowBegin () const |
| | const iterator to the begining of a row
|
| |
|
RowIterator | rowEnd () |
| | iterator to the end of a row
|
| |
|
ConstRowIterator | rowEnd () const |
| | const iterator to the end of a row
|
| |
|
ColIterator | colBegin () |
| | iterator to the begining of a row
|
| |
|
ConstColIterator | colBegin () const |
| | iterator to the begining of a row
|
| |
|
ColIterator | colEnd () |
| | iterator to the begining of a row
|
| |
|
ConstColIterator | colEnd () const |
| | iterator to the begining of a row
|
| |
|
Iterator | Begin () |
| | iterator to the begining of a row
|
| |
|
ConstIterator | Begin () const |
| | iterator to the begining of a row
|
| |
|
Iterator | End () |
| | iterator to the begining of a row
|
| |
|
ConstIterator | End () const |
| | iterator to the begining of a row
|
| |
|
IndexedIterator | IndexedBegin () |
| | iterator to the begining of a row
|
| |
|
ConstIndexedIterator | IndexedBegin () const |
| | iterator to the begining of a row
|
| |
|
IndexedIterator | IndexedEnd () |
| | iterator to the begining of a row
|
| |
|
ConstIndexedIterator | IndexedEnd () const |
| | iterator to the begining of a row
|
| |
| Row | operator[] (size_t i) |
| | operator[]. More...
|
| |
|
ConstRow | operator[] (size_t i) const |
| | iterator to the begining of a row
|
| |
| Vector1 & | apply (Vector1 &y, const Vector2 &x) const |
| |
| Vector1 & | applyTranspose (Vector1 &y, const Vector2 &x) const |
| |
template<class _Field>
class LinBox::Submatrix< BlasMatrix< _Field >, VectorCategories::DenseVectorTag >
Specialization for BlasMatrix.