#include "petscmat.h" PetscErrorCode MatGetDiagonalBlock(Mat A,Mat *a)Not Collective
Notes: see the manual page for MatCreateAIJ() for more information on the "diagonal part" of the matrix. Use caution, as the reference count on the returned matrix is not incremented and it is used as part of the containing MPI Mat's normal operation.
Level:advanced
Location:src/mat/interface/matrix.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages