MatProductClear#
Clears matrix product internal datastructures.
Synopsis#
#include "petscmat.h"
PetscErrorCode MatProductClear(Mat mat)
Collective
Input Parameters#
mat - the product matrix
Notes#
This function should be called to remove any intermediate data used to compute the matrix to free up memory.
After having called this function, matrix-matrix operations can no longer be used on mat
See Also#
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