the number n of observations being partitioned, must be positive
the k-1 interior cut positions, strictly increasing and within (0, n)