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

Home » Public Forums » archive » Re: tested random # generator?
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: tested random # generator? [message #7023 is a reply to message #7016] Fri, 13 September 1996 00:00 Go to previous message
peter is currently offline  peter
Messages: 80
Registered: February 1994
Member
Fronefield Crawford (crawford@space.mit.edu) wrote:

: Does anyone have a random number generator written in IDL that's been
: tested to work? I've tried linking in ran1.c (from Numerical Recipes)
: via call_external, but I am having trouble doing that. For me it would
: be easiest to use a routine already written in IDL would be best. Many
: thanks.

IDL> print, randomn(seed,5)
-0.921359 0.709662 -0.0300814 0.556668 0.0501184
IDL> print, randomu(seed,5)
0.0368400 0.169594 0.364733 0.0678048 0.594544

Seems to work...

Peter
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: IDL to C++ compiler
Next Topic: Re: Coping with DOS filenames

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

Current Time: Sun Oct 12 07:18:41 PDT 2025

Total time taken to generate the page: 1.04059 seconds