MatMultTransposeEqual#
Compares matrix-vector products of two matrices.
Synopsis#
#include "petscmat.h"
PetscErrorCode MatMultTransposeEqual(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(), MatMultAddEqual(), MatMultTransposeAddEqual()
Level#
intermediate
Location#
Examples#
src/mat/tests/ex100.c
src/mat/tests/ex115.c
src/mat/tests/ex185.c
src/mat/tests/ex23.c
src/mat/tests/ex241.c
src/mat/tests/ex242.c
src/mat/tests/ex38.c
src/mat/tests/ex48.c
src/mat/tests/ex66.c
src/mat/tests/ex70.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages