linbox
1
|
#include <submatrix.h>
Public Member Functions | |
Submatrix (const Blackbox *BB, size_t row, size_t col, size_t rowdim, size_t coldim) | |
virtual | ~Submatrix () |
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 (void) const |
size_t | coldim (void) const |
Specialization for dense vectors
|
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 |
|
inlinevirtual |
Destructor
|
inline |
|
inline |
|
inline |
Retreive _row dimensions of BlackBox matrix. This may be needed for applying preconditioners. Required by abstract base class.
|
inline |
Retreive _column dimensions of BlackBox matrix. Required by abstract base class.