Reference documentation for deal.II version 8.5.1
|
#include <deal.II/lac/matrix_lib.h>
Public Member Functions | |
ScaledMatrix () | |
template<typename MatrixType > | |
ScaledMatrix (const MatrixType &M, const double factor) | |
~ScaledMatrix () | |
template<typename MatrixType > | |
void | initialize (const MatrixType &M, const double factor) |
void | clear () |
void | vmult (VectorType &w, const VectorType &v) const |
void | Tvmult (VectorType &w, const VectorType &v) const |
Public Member Functions inherited from Subscriptor | |
Subscriptor () | |
Subscriptor (const Subscriptor &) | |
Subscriptor (Subscriptor &&) | |
virtual | ~Subscriptor () |
Subscriptor & | operator= (const Subscriptor &) |
Subscriptor & | operator= (Subscriptor &&) |
void | subscribe (const char *identifier=0) const |
void | unsubscribe (const char *identifier=0) const |
unsigned int | n_subscriptions () const |
void | list_subscribers () const |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
PointerMatrixBase< VectorType > * | m |
double | factor |
Additional Inherited Members | |
Static Public Member Functions inherited from Subscriptor | |
static ::ExceptionBase & | ExcInUse (int arg1, char *arg2, std::string &arg3) |
static ::ExceptionBase & | ExcNoSubscriber (char *arg1, char *arg2) |
A matrix that is the multiple of another matrix.
Matrix-vector products of this matrix are composed of those of the original matrix with the vector and then scaling of the result by a constant factor.
Definition at line 159 of file matrix_lib.h.
|
inline |
Constructor leaving an uninitialized object.
Definition at line 517 of file matrix_lib.h.
|
inline |
Constructor with initialization.
Definition at line 528 of file matrix_lib.h.
|
inline |
Destructor
Definition at line 562 of file matrix_lib.h.
|
inline |
Initialize for use with a new matrix and factor.
Definition at line 540 of file matrix_lib.h.
|
inline |
Reset the object to its original state.
Definition at line 552 of file matrix_lib.h.
|
inline |
Matrix-vector product.
Definition at line 571 of file matrix_lib.h.
|
inline |
Transposed matrix-vector product.
Definition at line 581 of file matrix_lib.h.
|
private |
The matrix.
Definition at line 206 of file matrix_lib.h.
|
private |
The scaling factor;
Definition at line 211 of file matrix_lib.h.