comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: RANDOM question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: RANDOM question [message #33223 is a reply to message #33220] Mon, 16 December 2002 08:13 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Kenneth Bowman (k-bowman@null.tamu.edu) writes:

> I would like to save the state of the pseudorandom-number generator in a
> file so that I can resume (or reproduce) a calculation at a later time.
> Does anyone know if the state variable ("seed") is always a 36-element
> long vector? The docs say that "seed" is "a named variable that
> contains a longword array of the proper length", but does not give the
> "proper length".

It certainly *seems* to be a 36-element array. But why
not store it in a pointer (or pointer field) just to be
on the safe side.

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Previous Topic: Bug in IDLgrPolygon ?
Next Topic: "splitting" an index

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 08:58:09 PDT 2025

Total time taken to generate the page: 0.64079 seconds