Cartesian product
From CS2800 wiki
Definition: Cartesian product
If sets, then the cartesian product of and (written ) is the set of ordered pairs of elements, one from and one from . Formally, .
and are For example,
For example, [math]\href{/cs2800/wiki/index.php/Enumerated_set}{\{1,2\}} \href{/cs2800/wiki/index.php/%5Ctimes}{\times} \href{/cs2800/wiki/index.php/Enumerated_set}{\{a,b\}} = \{\href{/cs2800/wiki/index.php/Pair}{(1,a)}, \href{/cs2800/wiki/index.php/Pair}{(1,b)}, \href{/cs2800/wiki/index.php/Pair}{(2,a)}, \href{/cs2800/wiki/index.php/Pair}{(2,b)}\} [/math]