Compute the nonvanishing basis functions
function n_BasisFuns extends Modelica.Icons.Function; input Integer i "index"; input Real u "parameter"; input Integer p "degree"; input Real knots[:] "knot vector"; output Real N[p + 1] "Basis functions"; end n_BasisFuns;