Skip to content

Commit 2f329b0

Browse files
committed
Add cartesian product algorithm.
1 parent f3503f1 commit 2f329b0

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Cartesian Product
2+
3+
In set theory a Cartesian product is a mathematical operation that returns a set
4+
(or product set or simply product) from multiple sets. That is, for sets A and B,
5+
the Cartesian product A × B is the set of all ordered pairs (a, b)
6+
where a ∈ A and b ∈ B.
7+
8+
![Cartesian Product of Two Sets](https://en.wikipedia.org/wiki/Cartesian_product#/media/File:Cartesian_Product_qtl1.svg)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

0 commit comments

Comments
 (0)