Interpolation of the points with a Bspline of degree 3 and Bessel end condition
function interpolationBessel extends Modelica.Icons.Function; input Real points[:, :] "[i,:] is point i on the curve to be interpolated"; input Real param[size(points, 1)] "parameterization of the data points (not necessarily in the range 0..1)"; output Data Bspline(ndim = size(points, 2), ncontrol = (size(points, 1) + 2), degree = 3) "Bspline in a form which can be quickly interpolated"; end interpolationBessel;