Given a set of points x_0...n and output of some function f_0...n, this library generates a spline S(x) on each interval 0\leq j \leq n that provides a cubic approximation of the input function.
Please consult the Main.java
file https://github.com/0x55553333/JavaSplineLib/blob/master/src/main/java/Main.java.
For cubic spline interpolation, Please consult a brief document: https://github.com/0x55553333/JavaSplineLib/blob/master/docs/spline3.pdf