#include "petscmat.h" PetscErrorCode MatMultAddEqual(Mat A,Mat B,PetscInt n,PetscBool *flg)Collective on Mat
A | - the first matrix | |
B | - the second matrix | |
n | - number of random vectors to be tested |
flg | - PETSC_TRUE if the products are equal; PETSC_FALSE otherwise. |