Skip to main content
`Ctrl`+`K`

# 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

Matrices, `MatProduct`, `Mat`, `MatProductSetAlgorithm()`, `MatProductSetType()`, `MatProductCreate()`, `MatSetType()`, `MatProductSymbolic()`

## Level

intermediate

## Location

src/mat/interface/matproduct.c

## Examples

src/tao/pde_constrained/tutorials/parabolic.c
src/tao/pde_constrained/tutorials/elliptic.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
MatProductNumeric_HT() in src/mat/impls/transpose/htransm.c

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