Navigation

Operators and Keywords

Function List:

C++ API

 Create a sparse interpolation matrix.

 [H,out] = sparse_interp(mask,I)

 Create interpolation matrix from mask and fractional indexes I

 Input:
   mask: 0 invalid and 1 valid points (n-dimensional array)
   I: fractional indexes (2-dim array n by mi, where mi is the number of points to interpolate)
 Ouput:
   H: sparse matrix with interpolation coefficients 
   out: true if value outside of grid

Package: divand