|
| | ScalarMatrix () |
| | Constructs an initially 0 by 0 matrix.
|
| |
| | ScalarMatrix (MatrixStream< Field > &ms) |
| |
| void | changeField (const Field &F) |
| |
| | ScalarMatrix (const Field &F) |
| | Constructor of readable scalar matrix.
|
| |
| | ScalarMatrix (const Field &F, const size_t n, const size_t m, const Element &s) |
| |
| | ScalarMatrix (const Field &F, const size_t n, const size_t m) |
| |
| | ScalarMatrix (const Field &F, const size_t n, const typename Field::RandIter &iter) |
| | Constructor from a random element.
|
| |
| | ScalarMatrix (const ScalarMatrix< Field > &Mat) |
| |
| void | setScalar (Element &x) |
| |
| template<class OutVector, class InVector> |
| OutVector & | apply (OutVector &y, InVector &x) const |
| | Application of BlackBox matrix.
|
| |
| template<class OutVector, class InVector> |
| OutVector & | applyTranspose (OutVector &y, InVector &x) const |
| | Application of BlackBox matrix transpose.
|
| |
| template<typename _Tp1> |
| | ScalarMatrix (const ScalarMatrix< _Tp1 > &S, const Field &F) |
| |
| size_t | rowdim (void) const |
| |
| size_t | coldim (void) const |
| |
| const Field & | field () const |
| |
| Element & | trace (Element &t) const |
| |
| Element & | getEntry (Element &x, const size_t i, const size_t j) const |
| |
| Element & | det (Element &d) const |
| |
| long int & | rank (long int &r) const |
| |
| Element & | getScalar (Element &x) const |
| |
| Element & | setScalar (const Element &x) |
| |
| std::ostream & | write (std::ostream &os, Tag::FileFormat format=Tag::FileFormat::Pretty) const |
| |
| std::istream & | read (std::istream &is) |
| |
|
| template<class OutVector, class InVector> |
| OutVector & | _app (OutVector &y, const InVector &x, VectorCategories::DenseVectorTag) const |
| |
| template<class OutVector, class InVector> |
| OutVector & | _app (OutVector &y, const InVector &x, VectorCategories::SparseSequenceVectorTag) const |
| |
| template<class OutVector, class InVector> |
| OutVector & | _app (OutVector &y, const InVector &x, VectorCategories::SparseAssociativeVectorTag) const |
| |
| Element & | pow (Field &F, Element &p, const Element &a, const size_t e) |
| |
template<class Field_>
class LinBox::ScalarMatrix< Field_ >
Blackbox for aI.
Use particularly for representing 0 and I.
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.