:orphan: # MatNestGetSize Returns the size of the `MATNEST` matrix. ## Synopsis ``` #include "petscmat.h" PetscErrorCode MatNestGetSize(Mat A, PetscInt *M, PetscInt *N) ``` Not Collective ## Input Parameter - ***A -*** `MATNEST` matrix ## Output Parameters - ***M -*** number of rows in the nested mat - ***N -*** number of cols in the nested mat ## See Also [](ch_matrices), `Mat`, `MATNEST`, `MatNestGetSubMat()`, `MatNestGetSubMats()`, `MATNEST`, `MatCreateNest()`, `MatNestGetLocalISs()`, `MatNestGetISs()` ## Level developer ## Location src/mat/impls/nest/matnest.c ## Implementations MatNestGetSize_Nest in src/mat/impls/nest/matnest.c
--- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/mat/impls/nest/matnest.c) [Index of all Mat routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)