MatEqual

Compares two matrices.

Synopsis

int MatEqual(Mat A,Mat B,PetscTruth *flg)
Collective on Mat

Input Parameters

A - the first matrix
B - the second matrix

Output Parameter

flg -PETSC_TRUE if the matrices are equal; PETSC_FALSE otherwise.

Keywords

matrix, equal, equivalent

Location: src/mat/interface/matrix.c
Matrix Index
Table of Contents