Re: direct product of two sets

*To*: mathgroup at smc.vnet.net*Subject*: [mg53267] Re: direct product of two sets*From*: "timreh" <a.9021031 at nctu.edu.tw>*Date*: Tue, 4 Jan 2005 03:12:28 -0500 (EST)*Organization*: National Chiao Tung University*References*: <crb4hv$an3$1@smc.vnet.net>*Sender*: owner-wri-mathgroup at wolfram.com

Hi, It seems can be done by using"Inner". Inner[f,{a,b,c},{x,y,z}]={f[a,x],f[b,y],f[c,z]} "Cong" <vo.chi.cong at is.titech.ac.jp> ¦b¶l¥ó news:crb4hv$an3$1 at smc.vnet.net ¤¤¼¶¼g... > Hello! > > Give 2 finite sets A and B, how can I compute their direct product > A x B := {(a,b) : a\in A, b\in B} > > Can someone help me? > > Best Regards, > > Cong >