Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. xonTAB

    Please Help me with this Problem

    Thanks Very Much. I tried to run your code but did not work. I tried to modify it a bit and it finally it worked. cartesian_product([H|T],B):- cartesian_product_1(H,B), nl,cartesian_product(T,B). cartesian_product_1(H,[]). cartesian_product_1(H,[H1|T1]):- write(H), write(H1),write('...
  2. xonTAB

    Please Help me with this Problem

    I was working on the following problem: The Cartesian Product of two sets is the set containing all the tuples produced from one element of one set and second element from the other set. Consider the sets A = {a, b, c} and B = {1, 2, 3} The cartesian product of A and B = A ? B = {...

Part and Inventory Search

Back
Top