knot_multiplicities - Determine the multiplicities of a knot vector