petsc-3.7.7 2017-09-25
Report Typos and Errors

MatRARtNumeric

Computes the matrix product C = R * A * R^T

Synopsis

#include "petscmat.h" 
PetscErrorCode MatRARtNumeric(Mat A,Mat R,Mat C)
Neighbor-wise Collective on Mat

Input Parameters

A - the matrix
R - the projection matrix

Output Parameters

C -the product matrix

Notes

C must have been created by calling MatRARtSymbolic and must be destroyed by the user using MatDestroy().

This routine is currently only implemented for pairs of AIJ matrices and classes which inherit from AIJ. C will be of type MATAIJ.

See Also

MatRARt(), MatRARtSymbolic(), MatMatMultNumeric()

Level:intermediate
Location:
src/mat/interface/matrix.c
Index of all Mat routines
Table of Contents for all manual pages
Index of all manual pages