Difference between revisions of "Manuals/calci/CARTESIANPRODUCT"

From ZCubes Wiki
Jump to navigation Jump to search
Line 40: Line 40:
 
==References==
 
==References==
 
[http://ndp.jct.ac.il/tutorials/discrete/node28.html Cartesian Product]
 
[http://ndp.jct.ac.il/tutorials/discrete/node28.html Cartesian Product]
 +
 +
 +
 +
*[[Z_API_Functions | List of Main Z Functions]]
 +
 +
*[[ Z3 |  Z3 home ]]

Revision as of 03:52, 13 March 2017

CARTESIANPRODUCT (GivenSet1,GivenSet2)


  • and are the set of numbers to find product.

Description

  • This function shows the Cartesian product of two sets.
  • Cartesian product is the product of two sets.
  • The product of set X and set Y is the set that contains all ordered pairs ( x, y ) for which x belongs to X and y belongs to Y.
  • In , and are two set of real numbers with a pair of numbers.
  • Consider two sets and .
  • The Cartesian product of and are denoted by is the set of all ordered pairs such that and .

= {}

Examples

1.CARTESIANPRODUCT([2,4,6],[10,13,7])

2 10
2 13
2 7
4 10
4 13
4 7
6 10
6 13
6 7

See Also

References

Cartesian Product