oce (version 1.1-1)

bilinearInterp: Bilinear Interpolation Within a Grid

Description

This is used by topoInterpolate.

Usage

bilinearInterp(x, y, gx, gy, g)

Arguments

x

vector of x values at which to interpolate

y

vector of y values at which to interpolate

gx

vector of x values for the grid

gy

vector of y values for the grid

g

matrix of the grid values

Value

vector of interpolated values