petsc-3.14.6 2021-03-30
MatGetType
Gets the matrix type as a string from the matrix object.
Synopsis
#include "petscmat.h"
PetscErrorCode MatGetType(Mat mat,MatType *type)
Not Collective
Input Parameter
Output Parameter
| name | - name of matrix type
|
See Also
MatSetType()
Level
intermediate
Location
src/mat/interface/matreg.c
Examples
src/ksp/ksp/tutorials/ex29.c.html
src/ksp/ksp/tutorials/ex34.c.html
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages