|
linbox
|
Specialization for dense vectors. More...
#include <submatrix.h>
Inheritance diagram for Submatrix< Blackbox, VectorCategories::DenseVectorTag >:Public Member Functions | |
| Submatrix (const Blackbox *BB, size_t row, size_t col, size_t Rowdim, size_t Coldim) | |
| Constructor from field and dense vector of field elements. | |
| virtual | ~Submatrix () |
| Destructor. | |
| template<class OutVector , class InVector > | |
| OutVector & | apply (OutVector &y, const InVector &x) const |
| Application of BlackBox matrix. | |
| template<class OutVector , class InVector > | |
| OutVector & | applyTranspose (OutVector &y, const InVector &x) const |
| Application of BlackBox matrix transpose. | |
| size_t | rowdim (void) const |
| Retreive _row dimensions of BlackBox matrix. | |
| size_t | coldim (void) const |
| Retreive _column dimensions of BlackBox matrix. | |
Specialization for dense vectors.
| Submatrix | ( | const Blackbox * | BB, |
| size_t | row, | ||
| size_t | col, | ||
| size_t | Rowdim, | ||
| size_t | Coldim | ||
| ) | [inline] |
Constructor from field and dense vector of field elements.
| BB | Black box from which to extract the submatrix |
| row | First row of the submatrix to extract (1.._BB->rowdim ()) |
| col | First column of the submatrix to extract (1.._BB->coldim ()) |
| Rowdim | Row dimension |
| Coldim | Column dimension |
Reimplemented in Submatrix< Blackbox, VectorCategories::DenseZeroOneVectorTag >.
| OutVector& apply | ( | OutVector & | y, |
| const InVector & | x | ||
| ) | const [inline] |
| OutVector& applyTranspose | ( | OutVector & | y, |
| const InVector & | x | ||
| ) | const [inline] |
| size_t rowdim | ( | void | ) | const [inline] |
Retreive _row dimensions of BlackBox matrix.
This may be needed for applying preconditioners. Required by abstract base class.
| size_t coldim | ( | void | ) | const [inline] |
Retreive _column dimensions of BlackBox matrix.
Required by abstract base class.
1.7.4