Add cartesian product algorithm.

This commit is contained in:
Oleksii Trekhleb
2018-04-02 08:57:42 +03:00
parent f3503f1d5e
commit 2f329b012a
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,8 @@
# 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 of Two Sets](https://en.wikipedia.org/wiki/Cartesian_product#/media/File:Cartesian_Product_qtl1.svg)

View File

@ -0,0 +1 @@