RbfNDInterpolator

class RbfNDInterpolator<T : EuclideanVector<T>>(val points: List<T>, val weights: Array<DoubleArray>, val values: Array<DoubleArray>, val rbf: (Double) -> Double, val rbfDerivative: (Double) -> Double, val mean: DoubleArray)(source)

Represents a Radial Basis Function (RBF) interpolator for multidimensional data.

This class implements an interpolator that takes a set of points in a multidimensional space, applies a radial basis function to interpolate values at new points.

Parameters

T

The type of vector used in the interpolation, which must implement the EuclideanVector<T> interface.

Constructors

Link copied to clipboard
constructor(points: List<T>, weights: Array<DoubleArray>, values: Array<DoubleArray>, rbf: (Double) -> Double, rbfDerivative: (Double) -> Double, mean: DoubleArray)

Properties

Link copied to clipboard

A 1D array representing the mean offset values applied to the interpolation result.

Link copied to clipboard
val points: List<T>

A list of vectors representing the input points in the multidimensional space.

Link copied to clipboard
val rbf: (Double) -> Double

A radial basis function that computes values based on a squared distance (e.g., Gaussian, cubic, etc.).

Link copied to clipboard
Link copied to clipboard

A 2D array of the target values corresponding to the input points, where each row maps to a point.

Link copied to clipboard

A 2D array containing the weights calculated for the RBF interpolation.

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun jacobian(x: T): Matrix