This pull request brings about a restructuring of the spline class, ensuring compatibility with various types of eigen vectors. The specific changes include:
The relocation of the spline class to the math component.
To maintain backward compatibility in both C++ and Python, the previous class has not been removed but instead deprecated.
Elimination of code redundancy in both CubicSpline and QuinticSpline implementations.
Implement the possibility to efficiently query the points of a spline given an ordered time vector
This pull request brings about a restructuring of the spline class, ensuring compatibility with various types of eigen vectors. The specific changes include: