petsc-master 2020-05-26
Report Typos and Errors

MatProductReplaceMats

Replace input matrices for a matrix product.

Synopsis

#include "petscmat.h" 
PetscErrorCode MatProductReplaceMats(Mat A,Mat B,Mat C,Mat D)
Collective on Mat

Input Parameters

A - the matrix or NULL if not being replaced
B - the matrix or NULL if not being replaced
C - the matrix or NULL if not being replaced
D - the matrix product

Notes

Input matrix must have exactly same data structure as replaced one.

See Also

MatProductCreate()

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