# Mat

Abstract PETSc matrix object

### Synopsis

    typedef struct _p_Mat*           Mat;

### See Also

MatCreate(), MatType, MatSetType()

Level:beginner
Location:src/mat/../../include/petscmat.h
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages

### Examples

src/mat/examples/tutorials/ex1.c.html
src/mat/examples/tutorials/ex4.c.html
src/ksp/examples/tutorials/ex15.c.html
src/ksp/examples/tutorials/ex22.c.html
src/ksp/examples/tutorials/ex25.c.html
src/ksp/examples/tutorials/ex28.c.html
src/ksp/examples/tutorials/ex29.c.html
src/snes/examples/tutorials/ex1.c.html
src/snes/examples/tutorials/ex2.c.html
src/snes/examples/tutorials/ex3.c.html
src/snes/examples/tutorials/ex5.c.html