:orphan: # KSPMatRegisterAll Registers all matrix implementations in the `KSP` package. ## Synopsis ``` #include "petscsnes.h" PetscErrorCode KSPMatRegisterAll(void) ``` Not Collective ## See Also [](ch_ksp), `Mat`, `MatRegister()`, `MatRegisterAll()`, `KSPInitializePackage()` ## Level advanced ## Location src/ksp/ksp/utils/kspmatregi.c --- [Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/ksp/ksp/utils/kspmatregi.c) [Index of all KSP routines](index.md) [Table of Contents for all manual pages](/manualpages/index.md) [Index of all manual pages](/manualpages/singleindex.md)