|
Claps Development
|
#include <EpetraExtCD_MatrixMatrix.hpp>
Public Member Functions | |
| virtual | ~MatrixMatrix () |
Static Public Member Functions | |
| static int | Multiply (const Epetra_CrsMatrix &A, const Epetra_CrsMatrix &B, Epetra_CrsMatrix *&C) |
Collection of matrix-matrix operations. This class basically functions as a namespace, containing only static methods. See the program epetraext/test/MatrixMatrix/cxx_main.cpp for a usage example.
| virtual EpetraExtCD::MatrixMatrix::~MatrixMatrix | ( | ) | [inline, virtual] |
destructor
| static int EpetraExtCD::MatrixMatrix::Multiply | ( | const Epetra_CrsMatrix & | A, |
| const Epetra_CrsMatrix & | B, | ||
| Epetra_CrsMatrix *& | C | ||
| ) | [static] |
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.
| A | Input, must already have had 'FillComplete()' called. |
| B | Input, must already have had 'FillComplete()' called. |
| C | Result. On entry to this method, it doesn't matter whether FillComplete() has already been called on C or not. If it has, then C's graph must already contain all nonzero locations that will be produced when forming the product A*B. On exit, C.FillComplete() will have been called. |
1.7.4