
Re: Needing a Random List of Nonrepeating Values whose
Posted:
Jan 19, 2013 1:14 AM


Have you tried RandomSample? Tomas
> From: brtubb090530@cox.net > Subject: Needing a Random List of Nonrepeating Values whose Range and Length > To: mathgroup@smc.vnet.net > Date: Fri, 18 Jan 2013 00:54:13 0500 > > Consider the following: > > ril[range_Integer]:= RandomInteger[{1,range},range] > > This function is almost what I want; but I need one which doesn't include any repeated values. This is intended for use, for example, for a card deck, or dice, etc. >

