:orphan: # MatSeqAIJGetMaxRowNonzeros returns the maximum number of nonzeros in any row ## Synopsis ``` #include "petscmat.h" PetscErrorCode MatSeqAIJGetMaxRowNonzeros(Mat A, PetscInt *nz) ``` Not Collective ## Input Parameter - ***mat -*** a `MATSEQAIJ` matrix ## Output Parameter - ***nz -*** the maximum number of nonzeros in any row ## See Also [](ch_matrices), `Mat`, `MatSeqAIJRestoreArray()`, `MatSeqAIJGetArrayF90()` ## Level intermediate ## Location src/mat/impls/aij/seq/aij.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/mat/impls/aij/seq/aij.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)