mirror of
https://github.com/trekhleb/javascript-algorithms.git
synced 2025-07-06 17:44:08 +08:00
Add cartesian product algorithm.
This commit is contained in:
8
src/algorithms/math/cartesian-product/README.md
Normal file
8
src/algorithms/math/cartesian-product/README.md
Normal 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.
|
||||
|
||||

|
@ -0,0 +1 @@
|
||||
|
Reference in New Issue
Block a user