Description: The transposition restricted to a Cartesian product. (Contributed by Zhi Wang, 6-Oct-2025)