template<class Type> class DensMatrix : public Matrix <Type> a dense matrix class template
| DensMatrix () the default constructor | |||||
| DensMatrix ( int m, int n ) a constructor with specified number of rows and columns
| |||||
| DensMatrix ( int m, const Vector <Type>* p ) construct a densmatrix which has the contant of a vector array
| |||||
| DensMatrix (const Vector <Type>& p ) construct a densmatrix which non-zero elements only at the diagonal | |||||
| DensMatrix (const DensMatrix <Type>& A) copy a const dense matrix to a new object | |||||
| matrixType () const type name of the dense matrix | |||||
| adjoint () adjoint of the DensMatrix | |||||
| operator[] (int i) access the ith row of the matrix, writable | |||||
| operator[] (int i) const access the ith row of the matrix, unwritable | |||||
| rowVector (int i) const access the ith row of the matrix, unwritable | |||||
| colVector (int j) const access the jth column of the matrix, unwritable | |||||
| chaSize (int, int) augmenting the DensMatrix | |||||
| operator() ( char*, int j) sum across rows
| |||||
| operator() ( int i, char*) sum across columns
| |||||
| rowMax (int i) const return the largest element of the ith row | |||||
| rowMin (int i) const return the smallest element of the ith row | |||||
| colMax (int j) const return the largest element of the jth col | |||||
| colMin (int j) const return the smallest element of the jth col | |||||
| operator- () Negating Operator | |||||
| operator= (const DensMatrix <Type>&) Assigning values of dense Matrix | |||||
| operator= (const Vector <Type>&) Assigning values of a Vector to the diagonal | |||||
| operator= (const Type) Assigning a constant value | |||||
| operator+= (const DensMatrix <Type>&) Add a dense matrix | |||||
| operator+= (const Type) Increment values by a constant | |||||
| operator-= (const DensMatrix <Type>&) Subtract a dense matrix | |||||
| operator-= (const Type) Decrement by a constant | |||||
| operator*= (const Type) Multiply by a constant | |||||
| operator/= (const Type) Divide by a constant | |||||
| addVal (const int i, const Vector <Type>&) insert a vector at the ith row | |||||
| addVal (const int i, const DensMatrix <Type>&) insert a dense matrix starting from the ith row | |||||
| addVal (const Vector <Type>&, const int j) insert a vector at the jth column | |||||
| addVal (const DensMatrix <Type>&, const int j) insert a dense matrix starting from the jth column | |||||
| adotx (const Vector <Type>& x) saxpy, the current matrix $\times$ vector $x$ | |||||
| atdotx (const Vector <Type>& x) saxpy, the transpose of current matrix $\times$ vector $x$ | |||||
| operator<< (ostream& os, const DensMatrix <Type>& A) a friend, write matrix $A$ to stream $os$ | |||||
| operator* (const DensMatrix <Type>& A, const Vector <Type>& x) Matrix and Vector products, $A \times x$ | |||||
| operator* (const Vector <Type>& x, const DensMatrix <Type>& A) Matrix and Vector products, $A^T \times x$ |
This is a class of regular dense matrix stored row-wise.
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling