Discrete polynomial splines on the circle