BSpline implementation in C lang Algorithm Reference: De Boor's Algorithm The code implementation is refered to python code pykan/kan/spline.py