
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.
Definition at line 157 of file matrix_lib.h.
| ScaledMatrix< VECTOR >::ScaledMatrix | ( | ) | [inline] |
Constructor leaving an uninitialized object.
Definition at line 506 of file matrix_lib.h.
| ScaledMatrix< VECTOR >::ScaledMatrix | ( | const MATRIX & | M, |
| const double | factor | ||
| ) | [inline] |
Constructor with initialization.
Definition at line 516 of file matrix_lib.h.
| ScaledMatrix< VECTOR >::~ScaledMatrix | ( | ) | [inline] |
Destructor
Definition at line 550 of file matrix_lib.h.
| void ScaledMatrix< VECTOR >::initialize | ( | const MATRIX & | M, |
| const double | factor | ||
| ) | [inline] |
Initialize for use with a new matrix and factor.
Definition at line 528 of file matrix_lib.h.
References PointerMatrixAux< MATRIX, VECTOR >::new_pointer_matrix_base().
| void ScaledMatrix< VECTOR >::clear | ( | ) | [inline] |
Delete internal matrix pointer.
Definition at line 540 of file matrix_lib.h.
| void ScaledMatrix< VECTOR >::vmult | ( | VECTOR & | w, |
| const VECTOR & | v | ||
| ) | const [inline] |
Matrix-vector product.
Definition at line 559 of file matrix_lib.h.
| void ScaledMatrix< VECTOR >::Tvmult | ( | VECTOR & | w, |
| const VECTOR & | v | ||
| ) | const [inline] |
Tranposed matrix-vector product.
Definition at line 569 of file matrix_lib.h.
PointerMatrixBase<VECTOR>* ScaledMatrix< VECTOR >::m [private] |
The matrix.
Definition at line 202 of file matrix_lib.h.
double ScaledMatrix< VECTOR >::factor [private] |
The scaling factor;
Definition at line 206 of file matrix_lib.h.
documentation generated on Fri Feb 3 2012 06:04:11 by
doxygen
1.7.2