Package-level declarations

Types

Link copied to clipboard
typealias Rbf = (Double) -> Double
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
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)

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

Functions

Link copied to clipboard
fun Rbf2DInterpolator(points: List<Vector2>, values: Array<DoubleArray>, smoothing: Double = 0.0, rbf: Rbf, rbfDerivative: Rbf): RbfNDInterpolator<Vector2>
Link copied to clipboard
fun Rbf3DInterpolator(points: List<Vector3>, values: Array<DoubleArray>, smoothing: Double = 0.0, rbf: Rbf, rbfDerivative: Rbf): RbfNDInterpolator<Vector3>
Link copied to clipboard
fun Rbf4DInterpolator(points: List<Vector4>, values: Array<DoubleArray>, smoothing: Double = 0.0, rbf: Rbf, rbfDerivative: Rbf): RbfNDInterpolator<Vector4>
Link copied to clipboard
fun rbfGaussian(scale: Double): Rbf

Creates a Gaussian radial basis function (RBF) with the given scale parameter. The resulting RBF computes the exponential decay based on the squared distance scaled by the parameter.

Link copied to clipboard

Generates the derivative of a Gaussian Radial Basis Function (RBF) kernel with respect to the distance. The Gaussian RBF is defined as exp(-scale^2 * distance^2). Its derivative with respect to the distance d is -scale^2 * exp(-scale^2 * d^2).

Link copied to clipboard

Generates a radial basis function (RBF) using the inverse multiquadratic kernel.

Link copied to clipboard

Radial basis function (RBF) using the inverse quadratic formula.

Link copied to clipboard
fun <T : EuclideanVector<T>> RbfNDInterpolator(points: List<T>, values: Array<DoubleArray>, smoothing: Double = 0.0, rbf: Rbf, rbfDerivative: Rbf): RbfNDInterpolator<T>