Applying function to cartesian product of two lists
As requested, I'm copying the above comment as an answer:
g[x, ##] & @@@ Tuples[{X, Y}]
seems an elegant way to me
As requested, I'm copying the above comment as an answer:
g[x, ##] & @@@ Tuples[{X, Y}]
seems an elegant way to me