chickadee » rbf » make-interpolant

make-interpolantprocedure

Creates a new RBF interpolant. Parameters:

basis
Symbol representing the basis function type:
- 'mq or 'multiquadratic: Multiquadratic basis
- 'imq or 'inverse-multiquadratic: Inverse multiquadratic basis
- 'tp or 'thin-plate: Thin plate spline basis
- 'ga or 'gaussian: Gaussian basis
m
Integer specifying the spatial dimension
scale
Real number specifying the scale factor. Should be larger than the typical separation between points, but smaller than the maximum separation.
xpoints
f64vector containing the data points (length should be m × number_of_points)
ypoints
f64vector containing the function values at the data points (length should equal number_of_points)

Returns a new <RBFInterpolant> record.