MatInterpolateAdd

w = y + A*x or A'*x depending on the shape of the matrix

Synopsis

#include "mat.h" 
int MatInterpolateAdd(Mat A,Vec x,Vec y,Vec w)
Collective on Mat

Input Parameters

mat - the matrix
x,y - the vectors
w - where the result is stored

Notes

w may be the same vector as y.

This allows one to use either the restriction or interpolation (its transpose) matrix to do the interpolation

Keywords

interpolate,

See Also

MatMultAdd(), MatMultTransposeAdd(), MatRestrict()

Level:intermediate
Location:src/mat/interface/matrix.c
Matrix Index
Table of Contents