com.r3corda.core.math / CubicSplineInterpolator / <init>

<init>

CubicSplineInterpolator(xs: DoubleArray, ys: DoubleArray)

Interpolates values between the given data points using a SplineFunction.

Implementation uses the Natural Cubic Spline algorithm as described in R. L. Burden and J. D. Faires (2011), Numerical Analysis. 9th ed. Boston, MA: Brooks/Cole, Cengage Learning. p149-150.