petsc-3.7.1 2016-05-15
Report Typos and Errors

MatPtAPNumeric

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

Synopsis

#include "petscmat.h" 
PetscErrorCode MatPtAPNumeric(Mat A,Mat P,Mat C)
Neighbor-wise Collective on Mat Many br

Input Parameters

A - the matrix Many br
P - the projection matrix Many br

Output Parameters

C -the product matrix Many br

Notes

C must have been created by calling MatPtAPSymbolic and must be destroyed by Many brthe user using MatDeatroy(). Many br

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

Many br

See Also

MatPtAP(), MatPtAPSymbolic(), 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