Rbf2DInterpolator

constructor(points: List<Vector2>, weights: Array<DoubleArray>, values: Array<DoubleArray>, rbf: (Double) -> Double, mean: DoubleArray)(source)

Parameters

points

A list of 2D points representing the locations of the input data.

weights

A 2D array of weights corresponding to each point for each output dimension.

values

A 2D array of known function values at the given points.

rbf

The radial basis function that defines how the influence of each point decreases with distance. It takes a squared distance as input and returns a scalar value.

mean

The mean values for each output dimension, used to offset the interpolated results.