On Thu, 16 Jun 2005, jack wrote:

> I was playing with the square() function in the list context. It would be
> very useful if one could specify the equivalent of the --cross option in
> the function, as in
>
> list foo = x1 x2 x3
> list foosq = square(foo,1) # x-products

Please disregard my last posting on this topic.  Here's a better 
solution, now in CVS:

list foosq = square(foo)  # just squares
list foox = cross(foo)    # includes x-products

Allin Cottrell

Reply via email to