Compute nonzero basis functions and their derivatives
function n_DersBasisFuns extends Modelica.Icons.Function; input Integer i "index"; input Real u "parameter"; input Integer p "degree"; input Integer n "n-th derivative"; input Real knots[:] "knot vector"; output Real ders[n + 1, p + 1] "ders[k,:] is (k-1)-th derivative"; end n_DersBasisFuns;