:orphan: # MatRegisterAll Registers all of the matrix types in PETSc ## Synopsis ``` #include "petscmat.h" PetscErrorCode MatRegisterAll(void) ``` Not Collective ## See Also `MatType`, `MatSetType()`, `MatRegister()` ## Level advanced ## Location src/mat/interface/matregis.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/mat/interface/matregis.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)