# Matrix Operations (Mat) PETSc matrices (`Mat` objects) are used to store Jacobians and other sparse matrices in PDE-based (or other) simulations. Users guide chapter: [](ch_matrices). See also [](../MatOrderings/index). Examples

ex10.c
ex11.c
ex12.c
ex15.c
ex15f.F90
ex16.c
ex17.c
ex17f.F90
ex18.c
ex18cu.cu
ex18.h
ex18kok.kokkos.cxx
ex19.c
ex1.c
ex20f.F90
ex2.c
ex3.c
ex4.c
ex4f.F90
ex6f.F90
ex7.c
ex8.c
ex9.c