Calculate cubic spline passing through the points (x,y) with known gradients g at these points. The parameter 'interpoints' describes the number of points in each segment.
1 | cubicSpline(x, y, g, interpoints = 10)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.