MatPythonSetType

Initalize a Mat object implemented in Python.

Synopsis

#include "petscmat.h" 
PetscErrorCode PETSCMAT_DLLEXPORT MatPythonSetType(Mat mat,const char pyname[])
Collective on Mat

Input Parameter

mat - the matrix (Mat) object.
pyname - full dotted Python name [package].module[.{class|function}]

Options Database Key

-mat_python <pyname> -

Keywords

Mat, Python

See Also

MATPYTHON, MatCreatePython(), PetscPythonInitialize()

Level:intermediate
Location:
src/mat/impls/python/python.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages