MatZeroEntries
Zeros all entries of a matrix. For sparse matrices this routine retains the old nonzero structure.
Synopsis
#include "mat.h"
int MatZeroEntries(Mat mat)
Collective on Mat
Input Parameters
mat -the matrix
Keywords
matrix, zero, entries
See Also
MatZeroRows()
Examples
src/sles/examples/tutorials/ex5.c
Level:intermediate
Location:src/mat/interface/matrix.c
Matrix Index
Table of Contents