MatLoadRegister

Allows one to register a routine that reads matrices from a binary file for a particular matrix type.

Synopsis

#include "mat.h"  
int MatLoadRegister(MatType type,int (*loader)(Viewer,MatType,Mat*))
Not Collective

Input Parameters

type - the type of matrix (defined in include/mat.h), for example, MATSEQAIJ.
loader - the function that reads the matrix from the binary file.

See Also

MatLoadRegisterAll(), MatLoad()

Level:developer
Location:src/mat/utils/matio.c
Matrix Index
Table of Contents