Hi Andrew,
when random numbers are generated as floating point values, they are
pretty much guaranteed to be unique.
If you need a random distribution of a set of integers, then you need
to do the following:
1) Create a set of integers {A}, using the Series component. This set
will be ordered: {0,1,2,3,4,5,6,7,...,N}
2) Create a set of random floating point values {B}. You can use the
Random component for this. Make sure {B} is the same size as {A}.
3) Use the Sort component to sort the random values {B} -> keys, and
sort {A} simultaneously. The output of A will be the original set, but
all jumbled up.
--
David Rutten
Robert McNeel & Associates
On Oct 8, 5:15 am, Andrew <[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
> Does anyone now how to generate a list of unique random numbers? The
> random component returns duplicate numbers (when you use integers).
> I'm sure there is a way to cull out the duplicates so I am left with
> just the unique items in the list but ideally there would be a boolean
> in the random that would force unique numbers when dealing with lists.
>
> Basically, I am looking for something like David's random deselect
> script.
>
> Thanks,
>
> Andrew