MatFindZeroRows#

Locate all rows that are completely zero in the matrix

Synopsis#

#include "petscmat.h" 
PetscErrorCode MatFindZeroRows(Mat mat, IS *zerorows)

Input Parameter#

  • mat - the matrix

Output Parameter#

  • zerorows - the rows that are completely zero

Note#

zerorows is set to NULL if no rows are zero.

See Also#

Matrices, Mat, MatFindNonzeroRows()

Level#

intermediate

Location#

src/mat/interface/matrix.c


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