[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: random generator
From: |
Margo |
Subject: |
Re: random generator |
Date: |
Fri, 07 Jun 2002 08:14:23 -0500 |
Typically you would seed the random number with the system time, at the
beginning of your simulation. That would constantly be a different seed.
Margo
Serban LASCU hotmail wrote:
> hello!
> i'm using uniformDblRand and uniformIntRand in ObjectiveC, but they are
> generating the same numbers every time. how can i initialize the random
> generator to get a really random series?
> thanks, bye!
>
> ==================================
> Swarm-Support is for discussion of the technical details of the day
> to day usage of Swarm. For list administration needs (esp.
> [un]subscribing), please send a message to <address@hidden>
> with "help" in the body of the message.
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.