To use this website fully, you first need to accept the use of cookies. By agreeing to the use of cookies you consent to the use of functional cookies. For more information read this page.

Official ZPE/YASS documentationset_cartesian_product

set_cartesian_product (list l, list m) ⇒ list

Generates a new set that is the Cartesian Product of two sets l and m. Output will be a list of lists. For example on two lists [1, 2] and [3, 4], the result will be [[1, 3], [1, 4], [2, 3], [2, 4]].

First available: Version 1.4.2F

There are no comments on this page.

New comment
Code previewClose
Feedback 👍
Comments are sent via email to me.