MatMatTransposeMultEqual#
Test AB^Tx = C*x for n random vector x
Synopsis#
#include "petscmat.h"
PetscErrorCode MatMatTransposeMultEqual(Mat A, Mat B, Mat C, PetscInt n, PetscBool *flg)
Collective
Input Parameters#
A - the first matrix
B - the second matrix
C - the third matrix
n - number of random vectors to be tested
Output Parameter#
flg -
PETSC_TRUEif the products are equal;PETSC_FALSEotherwise.
See Also#
Mat, MatMatMultAddEqual(), MatMultEqual(), MatMultAddEqual(), MatMultTransposeEqual()
Level#
intermediate
Location#
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages