Mirrors the C# Bilinear interpolater of the Numerics library.
Arguments
- x1, x2
numeric vectors of grid coordinates.
- y
numeric matrix with
length(x1)rows andlength(x2)columns,y[i, j]the value at(x1[i], x2[j]).- x1out, x2out
numeric vectors of equal length, positions to interpolate at.
- x1_transform, x2_transform, y_transform
one of
"none"(the default),"logarithmic"(also accepted as"log"), or"normal_z". See the note oninterpolate().- sort_order
"ascending"(the default) or"descending", describingx1andx2.