Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #13197
| From | brtubb090530@cox.net |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Needing a Random List of Non-repeating Values whose Range and Length |
| Date | 2013-01-18 05:50 +0000 |
| Message-ID | <kdanrk$3ec$1@smc.vnet.net> (permalink) |
| Organization | Time-Warner Telecom |
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 — Next in thread | Find similar | Unroll thread
Needing a Random List of Non-repeating Values whose Range and Length brtubb090530@cox.net - 2013-01-18 05:50 +0000 Re: Needing a Random List of Non-repeating Values whose Range and Length buxi@gmx.at - 2013-01-19 06:13 +0000 Re: Needing a Random List of Non-repeating Values whose Range and Length svkeeley@aol.com - 2013-01-19 06:14 +0000 Re: Needing a Random List of Non-repeating Values whose Range and Length Szabolcs Horvát <szhorvat@gmail.com> - 2013-01-19 06:13 +0000 Re: Needing a Random List of Non-repeating Values whose Range and Length svkeeley@aol.com - 2013-01-19 06:14 +0000
csiph-web