
Public Member Functions | |
| ScaledMatrix () | |
| template<class MATRIX > | |
| ScaledMatrix (const MATRIX &M, const double factor) | |
| ~ScaledMatrix () | |
| template<class MATRIX > | |
| void | initialize (const MATRIX &M, const double factor) |
| void | clear () |
| void | vmult (VECTOR &w, const VECTOR &v) const |
| void | Tvmult (VECTOR &w, const VECTOR &v) const |
Private Attributes | |
| PointerMatrixBase< VECTOR > * | m |
| double | factor |
A matrix that is the scaled version of another matrix.
Matrix-vector products of this matrix are composed of those of the original matrix and scaling by a constant factor.
| ScaledMatrix< VECTOR >::ScaledMatrix | ( | ) | [inline] |
Constructor leaving an uninitialized object.
| ScaledMatrix< VECTOR >::ScaledMatrix | ( | const MATRIX & | M, |
| const double | factor | ||
| ) | [inline] |
Constructor with initialization.
| ScaledMatrix< VECTOR >::~ScaledMatrix | ( | ) | [inline] |
Destructor
| void ScaledMatrix< VECTOR >::initialize | ( | const MATRIX & | M, |
| const double | factor | ||
| ) | [inline] |
Initialize for use with a new matrix and factor.
References PointerMatrixAux< MATRIX, VECTOR >::new_pointer_matrix_base().
| void ScaledMatrix< VECTOR >::clear | ( | ) | [inline] |
Delete internal matrix pointer.
| void ScaledMatrix< VECTOR >::vmult | ( | VECTOR & | w, |
| const VECTOR & | v | ||
| ) | const [inline] |
Matrix-vector product.
| void ScaledMatrix< VECTOR >::Tvmult | ( | VECTOR & | w, |
| const VECTOR & | v | ||
| ) | const [inline] |
Tranposed matrix-vector product.
PointerMatrixBase<VECTOR>* ScaledMatrix< VECTOR >::m [private] |
The matrix.
double ScaledMatrix< VECTOR >::factor [private] |
The scaling factor;
documentation generated on Fri Aug 12 2011 15:01:06 by
doxygen
1.7.4