|
|
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.
- Parameters:
-
| A | Input, must already have had 'FillComplete()' called. |
| transposeA | Input, whether to use transpose of matrix A. |
| B | Input, must already have had 'FillComplete()' called. |
| transposeB | Input, whether to use transpose of matrix B. |
| 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. |
- Returns:
- error-code, 0 if successful. non-zero returns may result if A or B are not already Filled, or if errors occur in putting values into C, etc.
|