MatGetType

Gets the matrix type and name (as a string) from the matrix.

Synopsis

int MatGetType(Mat mat,MatType *type,char **name)
Not Collective

Input Parameter

mat -the matrix

Output Parameter

type - the matrix type (or use PETSC_NULL)
name - name of matrix type (or use PETSC_NULL)

Keywords

matrix, get, type, name

Location: src/mat/interface/matrix.c
Matrix Index
Table of Contents