petsc-3.7.1 2016-05-15
MatGetType
Gets the matrix type as a string from the matrix object.
Synopsis
#include "petscmat.h"
PetscErrorCode MatGetType(Mat mat,MatType *type)
Not Collective Many br
Input Parameter
mat -the matrix Many br
Output Parameter
name -name of matrix type Many br
Many br
Keywords
Mat, MatType, get, method, name
See Also
MatSetType()
Level:intermediate
Location:src/mat/interface/matreg.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages