petsc-3.8.3 2017-12-09
Report Typos and Errors

MatFindNonzeroRows

Locate all rows that are not completely zero in the matrix

Synopsis

#include "petscmat.h" 
PetscErrorCode MatFindNonzeroRows(Mat mat,IS *keptrows)

Input Parameter

A -the matrix

Output Parameter

keptrows -the rows that are not completely zero

Notes: keptrows is set to NULL if all rows are nonzero.

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