MatConvertRegister

Allows one to register a routine that converts between two matrix types.

Synopsis

int MatConvertRegister(MatType intype,MatType outtype,int (*converter)(Mat,MatType,Mat*))
Not Collective

Input Parameters

intype -the type of matrix (defined in include/mat.h), for example, MATSEQAIJ.
outtype -new matrix type, or MATSAME

See Also

MatConvertRegisterAll()

Location: src/mat/interface/matrix.c
Matrix Index
Table of Contents