On Fri, 17 Jun 2005, Allin Cottrell wrote:
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
Ahhh, that's better....
Riccardo `Jack' Lucchetti
Dipartimento di Economia
Università di Ancona
jack(a)dea.unian.it
http://www.econ.unian.it/lucchetti