Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #13216

Re: Needing a Random List of Non-repeating Values whose Range and Length

From svkeeley@aol.com
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Needing a Random List of Non-repeating Values whose Range and Length
Date 2013-01-19 06:14 +0000
Message-ID <kdddje$a1p$1@smc.vnet.net> (permalink)
References <kdanrk$3ec$1@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


Try RandomSample[{list},n], which gives n samples from a list or a range without replacement (each element can only be used once).

I've tried to respond to this a couple of times, and my reply never showed up. So if this message shows up duplicated, that's why.

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread


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