Combinatorica`
Combinatorica`
CartesianProduct
As of Version 10, most of the functionality of the Combinatorica package is built into the Wolfram System. »
CartesianProduct[l1,l2]
gives the Cartesian product of lists l1 and l2.
Details and Options
- To use CartesianProduct, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
Wolfram Research (2012), CartesianProduct, Wolfram Language function, https://reference.wolfram.com/language/Combinatorica/ref/CartesianProduct.html.
Text
Wolfram Research (2012), CartesianProduct, Wolfram Language function, https://reference.wolfram.com/language/Combinatorica/ref/CartesianProduct.html.
CMS
Wolfram Language. 2012. "CartesianProduct." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/Combinatorica/ref/CartesianProduct.html.
APA
Wolfram Language. (2012). CartesianProduct. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/Combinatorica/ref/CartesianProduct.html