MatStateCompare#
Compares two matrix state snapshots
Synopsis#
#include "petscmat.h"
PetscErrorCode MatStateCompare(MatState state1, MatState state2, PetscBool *same)
Not Collective, No Fortran Support
Input Parameters#
state1 - the first matrix state
state2 - the second matrix state
Output Parameter#
same -
PETSC_TRUEif the matrix identity, object state, and nonzero state are the same,PETSC_FALSEotherwise
See Also#
Matrices, Mat, MatState, MatGetState(), MatStateCompareUpdate(), MatStateInvalidate()
Level#
developer
Location#
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages