How to force a single number to be a tuple

Roy Smith roy at panix.com
Sat Aug 7 15:38:13 CEST 2004


In article <uiq8h09864jrmf8oj2dt7c9hbr278u98qc at 4ax.com>,
 Dennis Lee Bieber <wlfraed at ix.netcom.com> wrote:

> On Fri, 06 Aug 2004 18:15:13 -0400, Roy Smith <roy at panix.com> declaimed
> the following in comp.lang.python:
> 
> > For those of us who went to school a while ago, and perhaps didn't pay 
> > as much attention in math class as we should have, could you translate 
> > "an element of the Cartesian product of zero or more domains" into 
> > English?
> >
> 	It's more the terminology of relation database theory. Might
> have derived from some esoteric set theory in match, but for the most
> part relational database theory terms map to "common" terms as:
> 
> relation			table
> tuple			row (record)
> domain			column
> 
> 	An unrestricted Cartesian product basically pairs up each entry
> of "domain A" with each entry of "domain B"

Ah.  The cross-product.  It's amazing how so many fields of study use 
the same concepts but invent new names for things to obfuscate 
everything :-)



More information about the Python-list mailing list