| Get() |
This class doesn't draw any graphs by itself it is only used to generate a new set of data points representing the smooth line from the input which are the control lines for the cubic spline.
The principle of using this class is that you first create an instance of this class and giving it the X,Y values for your control points.
You can then get back an interpolated smooth dataset by calling the Get() method. This method takeas as argument how many data points you want the interpolated graph to have.
Technical note: The spline is constructed with natural 2:nd derivates at the start and end points of the line.
Return the two new data vectors
|$num||50||Number of data points|
Constructor. Create a new Spline object
|$xdata||Control points. X-coordinates|
|$ydata||Control points. Y-coordinates|
Technical note: The spline is constructed with natural 2:nd derivates at the start and end point.