:orphan:
# MatProductNumeric
Compute a matrix-matrix product operation with the numerical values
## Synopsis
```
#include "petscmat.h"
PetscErrorCode MatProductNumeric(Mat mat)
```
Collective
## Input/Output Parameter
- ***mat -*** the matrix whose values are computed via a matrix-matrix product operation
## Note
`MatProductSymbolic()` must have been called on `mat` before calling this function
## See Also
[](ch_matrices), `MatProduct`, `Mat`, `MatProductSetAlgorithm()`, `MatProductSetType()`, `MatProductCreate()`, `MatSetType()`, `MatProductSymbolic()`
## Level
intermediate
## Location
src/mat/interface/matproduct.c
## Examples
src/tao/pde_constrained/tutorials/elliptic.c
src/tao/pde_constrained/tutorials/parabolic.c
## Implementations
MatProductNumeric_MPIAIJKokkos in src/mat/impls/aij/mpi/kokkos/mpiaijkok.kokkos.cxx
MatProductNumeric_MPIAIJBACKEND in src/mat/impls/aij/mpi/mpiaij.c
MatProductNumeric_H2OPUS in src/mat/impls/h2opus/cuda/math2opus.cu
MatProductNumeric_Htool in src/mat/impls/htool/htool.cxx
---
[Edit on GitLab](https://gitlab.com/petsc/petsc/-/edit/release/src/mat/interface/matproduct.c)
[Index of all Mat routines](index.md)
[Table of Contents for all manual pages](/manualpages/index.md)
[Index of all manual pages](/manualpages/singleindex.md)