MatPythonGetType#
Get the type of a Mat object implemented in Python.
Synopsis#
#include "petscmat.h"
PetscErrorCode MatPythonGetType(Mat mat, const char *pyname[])
Not collective
Input Parameter#
mat - the matrix
Output Parameter#
pyname - full dotted Python name [package].module[.{class|function}]
See Also#
Mat, MatType, MatCreate(), MatSetType(), MATPYTHON, PetscPythonInitialize(), MatPythonSetType()
Level#
intermediate
Location#
src/mat/impls/python/pythonmat.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages