petsc-master 2020-05-26
Report Typos and Errors

MatProductCreateWithMat

Setup a given matrix as a matrix product.

Synopsis

#include "petscmat.h" 
PetscErrorCode MatProductCreateWithMat(Mat A,Mat B,Mat C,Mat D)
Collective on Mat

Input Parameters

A - the first matrix
B - the second matrix
C - the third matrix (optional)
D - the matrix which will be used as a product

Output Parameters

D -the product matrix

See Also

MatProductCreate()

Level

intermediate

Location

src/mat/interface/matproduct.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages