
Public Member Functions | |
| TransposeMatrix (const MATRIX *M=0) | |
| TransposeMatrix (const char *name) | |
| TransposeMatrix (const MATRIX *M, const char *name) | |
| virtual void | clear () |
| bool | empty () const |
| const TransposeMatrix & | operator= (const MATRIX *M) |
| virtual void | vmult (VECTOR &dst, const VECTOR &src) const |
| virtual void | Tvmult (VECTOR &dst, const VECTOR &src) const |
| virtual void | vmult_add (VECTOR &dst, const VECTOR &src) const |
| virtual void | Tvmult_add (VECTOR &dst, const VECTOR &src) const |
Private Member Functions | |
| virtual const void * | get () const |
Private Attributes | |
| SmartPointer< const MATRIX, TransposeMatrix< MATRIX, VECTOR > > | m |
The transpose of a given matrix. This auxiliary class swaps the effect ov vmult() and Tvmult() as well as vmult_add() and Tvmult_add().
The implementation is analogous to the class PointerMatrix.
Definition at line 37 of file transpose_matrix.h.
| TransposeMatrix< MATRIX, VECTOR >::TransposeMatrix | ( | const MATRIX * | M = 0 ) |
Constructor. The pointer in the argument is stored in this class. As usual, the lifetime of *M must be longer than the one of the PointerMatrix.
If M is zero, no matrix is stored.
Definition at line 133 of file transpose_matrix.h.
| TransposeMatrix< MATRIX, VECTOR >::TransposeMatrix | ( | const char * | name ) |
Constructor. The name argument is used to identify the SmartPointer for this object.
Definition at line 139 of file transpose_matrix.h.
| TransposeMatrix< MATRIX, VECTOR >::TransposeMatrix | ( | const MATRIX * | M, |
| const char * | name | ||
| ) |
Constructor. M points to a matrix which must live longer than the TransposeMatrix. The name argument is used to identify the SmartPointer for this object.
Definition at line 145 of file transpose_matrix.h.
| void TransposeMatrix< MATRIX, VECTOR >::clear | ( | ) | [inline, virtual] |
Reset pointer and release the matrix pointed to.
Implements PointerMatrixBase< VECTOR >.
Definition at line 154 of file transpose_matrix.h.
| bool TransposeMatrix< MATRIX, VECTOR >::empty | ( | ) | const [inline] |
Return whether the object is empty.
Definition at line 171 of file transpose_matrix.h.
| const TransposeMatrix< MATRIX, VECTOR > & TransposeMatrix< MATRIX, VECTOR >::operator= | ( | const MATRIX * | M ) | [inline] |
Assign a new matrix pointer. Deletes the old pointer and releases its matrix.
Definition at line 162 of file transpose_matrix.h.
| void TransposeMatrix< MATRIX, VECTOR >::vmult | ( | VECTOR & | dst, |
| const VECTOR & | src | ||
| ) | const [inline, virtual] |
Matrix-vector product.
Implements PointerMatrixBase< VECTOR >.
Definition at line 180 of file transpose_matrix.h.
References Assert, and StandardExceptions::ExcNotInitialized().
| void TransposeMatrix< MATRIX, VECTOR >::Tvmult | ( | VECTOR & | dst, |
| const VECTOR & | src | ||
| ) | const [inline, virtual] |
Tranposed matrix-vector product.
Implements PointerMatrixBase< VECTOR >.
Definition at line 190 of file transpose_matrix.h.
References Assert, and StandardExceptions::ExcNotInitialized().
| void TransposeMatrix< MATRIX, VECTOR >::vmult_add | ( | VECTOR & | dst, |
| const VECTOR & | src | ||
| ) | const [inline, virtual] |
Matrix-vector product, adding to dst.
Implements PointerMatrixBase< VECTOR >.
Definition at line 200 of file transpose_matrix.h.
References Assert, and StandardExceptions::ExcNotInitialized().
| void TransposeMatrix< MATRIX, VECTOR >::Tvmult_add | ( | VECTOR & | dst, |
| const VECTOR & | src | ||
| ) | const [inline, virtual] |
Tranposed matrix-vector product, adding to dst.
Implements PointerMatrixBase< VECTOR >.
Definition at line 210 of file transpose_matrix.h.
References Assert, and StandardExceptions::ExcNotInitialized().
| const void * TransposeMatrix< MATRIX, VECTOR >::get | ( | ) | const [inline, private, virtual] |
Return the address of the matrix for comparison.
Implements PointerMatrixBase< VECTOR >.
Definition at line 220 of file transpose_matrix.h.
SmartPointer<const MATRIX,TransposeMatrix<MATRIX,VECTOR> > TransposeMatrix< MATRIX, VECTOR >::m [private] |
The pointer to the actual matrix.
Definition at line 125 of file transpose_matrix.h.
documentation generated on Fri Feb 3 2012 06:04:12 by
doxygen
1.7.2