Cartesian product documentation