how to get bandwidth of a matrix

Marco Schauer m.schauer at
Wed Nov 12 05:01:05 CST 2008

I try to find out the bandwidth of my matrix. Currently I use MatInfo to 
get nonzero entities, but MatInfo returns only the allocated, used and 
unneeded entities of the whole matrix. Is it possible to get the nonzero 
entities for each row?
Kind regards

More information about the petsc-users mailing list