setCartesian

setCartesian(set1, set2)

Create the cartesian product of two (multi)sets. Multi-dimension arrays will be converted to single-dimension arrays and the values will be sorted in ascending order before the operation.

Try it yourself:

All functions