Generalize perfect and opposite convolutions for arbitrary operands