Public Member Functions | |
| ShiftedMatrixGeneralized (const MATRIX &A, const MASSMATRIX &M, const double sigma) | |
| void | shift (const double sigma) |
| double | shift () const |
| void | vmult (VECTOR &dst, const VECTOR &src) const |
| double | residual (VECTOR &dst, const VECTOR &src, const VECTOR &rhs) const |
Private Attributes | |
| SmartPointer< const MATRIX, ShiftedMatrixGeneralized < MATRIX, MASSMATRIX, VECTOR > > | A |
| SmartPointer< const MASSMATRIX, ShiftedMatrixGeneralized < MATRIX, MASSMATRIX, VECTOR > > | M |
| VECTOR | aux |
| double | sigma |
Matrix with shifted diagonal values with respect to a certain scalar product.
Given a matrix A, this class implements a matrix-vector product with A+s M, where s is a provided shift parameter and M is the matrix representing the identity
Definition at line 94 of file shifted_matrix.h.
| ShiftedMatrixGeneralized< MATRIX, MASSMATRIX, VECTOR >::ShiftedMatrixGeneralized | ( | const MATRIX & | A, |
| const MASSMATRIX & | M, | ||
| const double | sigma | ||
| ) | [inline] |
Constructor. Provide the base matrix and a shift parameter.
Definition at line 206 of file shifted_matrix.h.
| void ShiftedMatrixGeneralized< MATRIX, MASSMATRIX, VECTOR >::shift | ( | const double | sigma ) | [inline] |
Set the shift parameter.
Definition at line 216 of file shifted_matrix.h.
| double ShiftedMatrixGeneralized< MATRIX, MASSMATRIX, VECTOR >::shift | ( | ) | const [inline] |
Access to the shift parameter.
Definition at line 223 of file shifted_matrix.h.
| void ShiftedMatrixGeneralized< MATRIX, MASSMATRIX, VECTOR >::vmult | ( | VECTOR & | dst, |
| const VECTOR & | src | ||
| ) | const [inline] |
Matrix-vector-product.
Definition at line 231 of file shifted_matrix.h.
References LAPACKSupport::A.
| double ShiftedMatrixGeneralized< MATRIX, MASSMATRIX, VECTOR >::residual | ( | VECTOR & | dst, |
| const VECTOR & | src, | ||
| const VECTOR & | rhs | ||
| ) | const [inline] |
SmartPointer<const MATRIX,ShiftedMatrixGeneralized<MATRIX,MASSMATRIX,VECTOR> > ShiftedMatrixGeneralized< MATRIX, MASSMATRIX, VECTOR >::A [private] |
Storage for base matrix.
Definition at line 129 of file shifted_matrix.h.
SmartPointer<const MASSMATRIX,ShiftedMatrixGeneralized<MATRIX,MASSMATRIX,VECTOR> > ShiftedMatrixGeneralized< MATRIX, MASSMATRIX, VECTOR >::M [private] |
Storage for mass matrix.
Definition at line 133 of file shifted_matrix.h.
VECTOR ShiftedMatrixGeneralized< MATRIX, MASSMATRIX, VECTOR >::aux [private] |
Auxiliary vector.
Definition at line 138 of file shifted_matrix.h.
double ShiftedMatrixGeneralized< MATRIX, MASSMATRIX, VECTOR >::sigma [private] |
Shift parameter.
Definition at line 143 of file shifted_matrix.h.
documentation generated on Fri Feb 3 2012 06:04:11 by
doxygen
1.7.2