Multiplication as a general operation for splines