#include <EpetraExt_MatrixMatrix.h>
Public Member Functions | |
| virtual | ~MatrixMatrix () |
| destructor | |
Static Public Member Functions | |
| int | Multiply (const Epetra_CrsMatrix &A, bool transposeA, const Epetra_CrsMatrix &B, bool transposeB, Epetra_CrsMatrix &C, bool call_FillComplete_on_result=true) |
| Given Epetra_CrsMatrix objects A, B and C, form the product C = A*B. | |
| int | Add (const Epetra_CrsMatrix &A, bool transposeA, double scalarA, Epetra_CrsMatrix &B, double scalarB) |
| Given Epetra_CrsMatrix objects A and B, form the sum B = a*A + b*B. | |
This class basically functions as a namespace, containing only static methods. See the program epetraext/test/MatrixMatrix/cxx_main.cpp for a usage example.
Definition at line 42 of file EpetraExt_MatrixMatrix.h.
|
|
destructor
Definition at line 46 of file EpetraExt_MatrixMatrix.h. |
|
||||||||||||||||||||||||||||
|
Given Epetra_CrsMatrix objects A, B and C, form the product C = A*B. In a parallel setting, A and B need not have matching distributions, but C needs to have the same row-map as A.
Definition at line 1104 of file EpetraExt_MatrixMatrix.cpp. |
|
||||||||||||||||||||||||
|
Given Epetra_CrsMatrix objects A and B, form the sum B = a*A + b*B.
Definition at line 1274 of file EpetraExt_MatrixMatrix.cpp. |
1.3.9.1