[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] How to generate a random number



On Thu, 14 Sep 2000, Liu Qiang wrote:

>     I want to write a simple tcl script in ns2 and need a random
> number generator. How can I generate a random number with the tcl
> script? Expect the reply.

This is described in Chapter 20, Mathematical support, of the ns
manual/notes and documentation.

L.

<[email protected]>PGP<http://www.ee.surrey.ac.uk/Personal/L.Wood/>