Add cartesian product algorithm.
This commit is contained in:
parent
2f329b012a
commit
02806f7efa
BIN
assets/cartesian-product.png
Normal file
BIN
assets/cartesian-product.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 29 KiB |
@ -5,4 +5,6 @@ In set theory a Cartesian product is a mathematical operation that returns a set
|
|||||||
the Cartesian product A × B is the set of all ordered pairs (a, b)
|
the Cartesian product A × B is the set of all ordered pairs (a, b)
|
||||||
where a ∈ A and b ∈ B.
|
where a ∈ A and b ∈ B.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
Image from [Wikipedia](https://en.wikipedia.org/wiki/Cartesian_product)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user