|
[Date Index]
[Thread Index]
[Author Index]
Re: Random Trouble
- To: mathgroup at smc.vnet.net
- Subject: [mg39203] Re: Random Trouble
- From: "Steve Luttrell" <luttrell at _removemefirst_westmal.demon.co.uk>
- Date: Mon, 3 Feb 2003 01:10:32 -0500 (EST)
- References: <b1idgf$bjs$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
"Donald Darling" <ddarling at math.uci.edu> wrote in message
news:b1idgf$bjs$1 at smc.vnet.net...
> I have a program which uses a random number in several places - the same
> number in a given run of the program. When I implement the program however
> the number changes in every new call to it. I've tried to overcome this
> using "Which", "Hold", "Verbatim", and others, all to no avail. Any help
> greatly appreciated.
Use SeedRandom to seed the random number generator in a controlled way.
--
Steve Luttrell
West Malvern, UK
Prev by Date:
RE: RealOnly
Next by Date:
Re: Writing a program to hunt for a prime between n^2 and (n+1)^2
Previous by thread:
Re: Random Trouble
Next by thread:
Re: Random Trouble
|