MatState#

Snapshot of the state of a Mat

Synopsis#

typedef struct {
  PetscObjectId    id;
  PetscObjectState state;
  PetscObjectState nonzerostate;
} MatState;

Note#

A MatState records the object id, state, and nonzero state of a Mat.

See Also#

Matrices, Mat, MatGetState(), MatStateCompare(), MatStateCompareUpdate(), MatStateInvalidate(), PetscObjectGetId()

Level#

developer

Location#

include/petscmat.h

Examples#

src/mat/tests/ex321.c


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