Matrices Mat: : Examples

PETSc matrices (Mat objects) are used to store Jacobians and other sparse matrices in PDE-based (or other) simulations.

ex1.c: Reads a PETSc matrix and vector from a file and reorders it
makefile