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: Matrices. See also Matrix colorings (MatColoring), orderings (MatOrdering), partitionings (MatPartitioning), and coarsening (MatCoarsen).

Examples

Beginner - Basic usage#

Intermediate - Setting options for algorithms and data structures#

Advanced - Setting more advanced options and customization#

Developer - Interfaces rarely needed by applications programmers#

Deprecated - Functionality scheduled for removal in the future#

Single list of manual pages#