supported by Zeuner Solutions SourceForge.net Logo

documentation for the macro "cartesian"

Computes the cartesian product of two given sets.

It is defined in the file sets.m4.

m4 code:

define(`cartesian',
`patsubst($1,`
',`,$2)
'`'patsubst(,`
',`
'')`'patsubst($2,`
',`
patsubst($1,`
',`,$2)
'`'patsubst(,`
',`
'')')')