This is a class of blackbox square scalar matrices. Each scalar matrix occupies O(scalar-size) memory. The matrix itself is not stored in memory, just the scalar and the dimensions.
|
Public Member Functions |
| ScalarMatrix () |
| Constructs an initially 0 by 0 matrix.
|
| ScalarMatrix (const Field &F, const size_t n, const Element &s) |
| ScalarMatrix (const Field &F, const size_t n, const typename Field::RandIter &iter) |
template<class OutVector, class InVector> OutVector & | apply (OutVector &y, InVector &x) const |
template<class OutVector, class InVector> OutVector & | applyTranspose (OutVector &y, InVector &x) const |