Skip to main content
Ctrl+K
PETSc 3.23.4 documentation - Home
  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.
  • GitLab
  • Overview
  • Install
  • Tutorials
  • User-Guide
  • C/Fortran API
  • petsc4py API
  • FAQ
  • Community
  • Developers
  • Misc.
  • GitLab
  • MatProductNumeric

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

On this page
  • Synopsis
  • Input/Output Parameter
  • Note
  • See Also
  • Level
  • Location
  • Examples
  • Implementations
Edit on GitLab
Show Source

© Copyright 1991-2025, UChicago Argonne, LLC and the PETSc Development Team.

Created using Sphinx 7.3.7.

Built with the PyData Sphinx Theme 0.15.1.

Last updated on 2025-07-08T04:22:46-0500 (v3.23.4-12-gbf92dce5aed7).