MatMultEqual#

Compares matrix-vector products of two matrices.

Synopsis#

#include "petscmat.h"  
PetscErrorCode MatMultEqual(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#

See Also#

Mat, MatMultAddEqual(), MatMultTransposeEqual(), MatMultTransposeAddEqual(), MatIsLinear()

Level#

intermediate

Location#

src/mat/utils/multequal.c

Examples#

src/ksp/ksp/tutorials/ex81.c


Edit on GitLab

Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages