[LON-CAPA-users] Choosing m elements out of n in an array

Guy Ashkenazi lon-capa-users@mail.lon-capa.org
Sun, 27 Feb 2005 14:37:28 +0200


>> Question for Guy - is there a difference between using
>> &random_permutation() and &map() ?
>
> Nope.

I just looked at the documentation of &map, where it says to use @Z = 
&map($seed,\@a)
Is the backslash before @a necessary? &random_permutation doesn't need 
that.

    Guy.