MatProductGetMats#

Returns the matrices associated with the matrix-matrix product this matrix can receive

Synopsis#

#include "petscmat.h" 
PetscErrorCode MatProductGetMats(Mat mat, Mat *A, Mat *B, Mat *C)

Not collective

Input Parameter#

  • mat - the product matrix

Output Parameters#

  • A - the first matrix

  • B - the second matrix

  • C - the third matrix (optional)

See Also#

Mat, MatProductCreateWithMat(), MatProductSetType(), MatProductSetAlgorithm(), MatProductCreate()

Level#

intermediate

Location#

src/mat/interface/matproduct.c


Edit on GitLab

Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages