template <class Type> class SpaMatrix : public Matrix <Type> a sparse matrix class template
| SpaMatrix (int,int,int) | |
| SpaMatrix ( Vector <Type>&, Vector <int>&, Vector <int>&) | |
| SpaMatrix ( Vector <Type>&, int*, int*) | |
| SpaMatrix (const SpaMatrix <Type>&) | |
| nzSize () const access the size description of the matrix | |
| matrixType () const | |
| operator[] (int ) the ith non-zero element | |
| rowVector (int i) const the ith row-vector | |
| colVector (int j) const the jth coumn-vector | |
| operator() (char*, int) sum across rows | |
| operator() (int, char*) sum across columns | |
| rowMax (int) const return the largest non-zero member of the row | |
| rowMin (int) const return the smallest non-zero member of the row | |
| colMax (int) const return the largest non-zero member of the col | |
| colMin (int) const return the smallest non-zero member of the col | |
| colPos (int i) const | |
| rowPos (int i) const | |
| nzRow (int i) const | |
| rowCount (int) const count number of nonzeros | |
| rowNorm (int ir, int p ) row-norm of the sparse matrix | |
| rowNorm2 (int ir) row-2-norm squared of the sparse matrix | |
| rowDot (int, const Vector <Type>&) dot product of one row with a Vector | |
| rowScale (int, Type) row scaling | |
| operator= (const SpaMatrix <Type>&) | |
| operator+= (Type c) | |
| operator-= (Type c) | |
| operator*= (Type c) | |
| operator/= (Type c) | |
| operator- () | |
| adotx (const Vector <Type>& x) | |
| atdotx (const Vector <Type>& x) | |
| operator* (const SpaMatrix <Type>& A, const Vector <Type>& v) | |
| operator<< (ostream&, const SpaMatrix <Type>&) write the sparse matrix to a stream |
This is a class for efficient representation and manipulation of sparse matrix.
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling