MatGetState#

Gets the state of a Mat.

Synopsis#

#include "petscmat.h" 
PetscErrorCode MatGetState(Mat A, PetscObjectState *state)

Not Collective

Input Parameter#

  • A - the matrix

Output Parameter#

  • state - the object state

Note#

Object state is an integer which gets increased every time the object is changed. By saving and later querying the object state one can determine whether information about the object is still current.

See Also#

Matrices, Mat, MatCreate(), PetscObjectStateGet()

Level#

advanced

Location#

src/mat/interface/matrix.c


Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages