PETSc version 3.17.4
MatProductGetMats
Returns the matrices associated with the MatProduct.
Synopsis
#include "petscmat.h"
PetscErrorCode MatProductGetMats(Mat mat, Mat *A, Mat *B, Mat *C)
Not collective
Input Parameter
Output Parameters
| A | - the first matrix
|
| B | - the second matrix
|
| C | - the third matrix (optional)
|
See Also
MatProductCreateWithMat(), MatProductSetType(), MatProductSetAlgorithm()
Level
intermediate
Location
src/mat/interface/matproduct.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages