MatRestrict
y = A*x or A'*x
Synopsis
#include "mat.h"
int MatRestrict(Mat A,Vec x,Vec y)
Collective on Mat
Input Parameters
| mat | - the matrix
|
| x,y | - the vectors
|
Notes
This allows one to use either the restriction or interpolation (its transpose)
matrix to do the restriction
Keywords
interpolate,
See Also
MatMultAdd(), MatMultTransposeAdd(), MatInterpolate()
Examples
src/sles/examples/tutorials/ex19.c
src/snes/examples/tutorials/ex16.c
Level:intermediate
Location:src/mat/interface/matrix.c
Matrix Index
Table of Contents