Spline Module

Functions and values

Function or value Description

smoothingSpline data basispts

Full Usage: smoothingSpline data basispts

Parameters:
    data : (float * float)[] -
    basispts : float[]

Returns: float -> float -> float

Creates a smoothing spline through some data. Takes as spline points the x-values given by basispts.
The resulting function takes lambda (regularization parameter) and a x_Value as input.

data : (float * float)[]

basispts : float[]
Returns: float -> float -> float

Example