function cspline extends TRANSFORM.Icons.Function; input Real x0 "Abscissa value of interest"; input Real x[:] "Abscissa array"; input Real y[size(x, 1)] "Ordinate array"; input Real d[size(x, 1)] "Derivative of at data points. Use d = splineDerivatives()"; output Real result "Interpolated ordinate value"; end cspline;