MatMultAddEqual#
Compares matrix-vector product plus vector add of two matrices.
Synopsis#
#include "petscmat.h"  
PetscErrorCode MatMultAddEqual(Mat A, Mat B, PetscInt n, PetscBool *flg)
Collective
Input Parameters#
- A - the first matrix 
- B - the second matrix 
- n - number of random vectors to be tested 
Output Parameter#
- flg - - PETSC_TRUEif the products are equal;- PETSC_FALSEotherwise.
See Also#
Mat, MatMultEqual(), MatMultTransposeEqual(), MatMultTransposeAddEqual()
Level#
intermediate
Location#
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages