Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #13212
| From | Tomas Garza <tgarza10@msn.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Needing a Random List of Non-repeating Values whose |
| Date | 2013-01-19 06:13 +0000 |
| Message-ID | <kdddij$a19$1@smc.vnet.net> (permalink) |
| References | <20130118055413.82B97691E@smc.vnet.net> |
| Organization | Time-Warner Telecom |
Have you tried RandomSample?
-Tomas
> From: brtubb090530@cox.net
> Subject: Needing a Random List of Non-repeating 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.
>
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: Needing a Random List of Non-repeating Values whose Tomas Garza <tgarza10@msn.com> - 2013-01-19 06:13 +0000
csiph-web