Calculates the Cartesian product of two sets.
The first set
The second set
const bits = Chalkboard.abal.Z(2);const pairs = Chalkboard.abal.Cartesian(bits, bits); // Returns the four ordered bit pairs Copy
const bits = Chalkboard.abal.Z(2);const pairs = Chalkboard.abal.Cartesian(bits, bits); // Returns the four ordered bit pairs
Calculates the Cartesian product of two sets.