MatIsShell#
Inquires if a matrix is derived from MATSHELL
Synopsis#
#include "petscmat.h"
PetscErrorCode MatIsShell(Mat mat, PetscBool *flg)
Input Parameter#
mat - the matrix
Output Parameter#
flg - the boolean value
Developer Note#
In the future, we should allow the object type name to be changed still using the MATSHELL
data structure for other matrices
(i.e. MATTRANSPOSEVIRTUAL
, MATSCHURCOMPLEMENT
etc)
See Also#
Matrices, Mat
, MATSHELL
, MATMFFD
, MatCreateShell()
, MATTRANSPOSEVIRTUAL
, MATSCHURCOMPLEMENT
Level#
developer
Location#
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages