MatShellGetContext

Returns the user-provided context associated with a shell matrix.

Synopsis

int MatShellGetContext(Mat mat,void **ctx)

Input Parameter

mat -the matrix, should have been created with MatCreateShell()

Output Parameter

ctx -the user provided context

Not Collective

Notes

This routine is intended for use within various shell matrix routines, as set with MatShellSetOperation(). .keywords: matrix, shell, get, context

See Also

MatCreateShell(), MatShellSetOperation()

Location: src/mat/impls/shell/shell.c
Matrix Index
Table of Contents