javascript-algorithms/src/algorithms/sets/cartesian-product
2018-04-26 07:26:12 +03:00
..
__test__ Restructure folders. 2018-04-26 07:26:12 +03:00
cartesianProduct.js Restructure folders. 2018-04-26 07:26:12 +03:00
README.md Restructure folders. 2018-04-26 07:26:12 +03:00

Cartesian Product

In set theory a Cartesian product is a mathematical operation that returns a set (or product set or simply product) from multiple sets. That is, for sets A and B, the Cartesian product A × B is the set of all ordered pairs (a, b) where a ∈ A and b ∈ B.

Cartesian product AxB of two sets A={x,y,z} and B={1,2,3}

Cartesian Product of Two Sets

References

Wikipedia