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

Home » Public Forums » archive » Generate Same Sequence of Random Numbers in IDL and C
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: Generate Same Sequence of Random Numbers in IDL and C [message #89079 is a reply to message #89072] Wed, 23 July 2014 09:52 Go to previous messageGo to previous message
sweiss1993 is currently offline  sweiss1993
Messages: 4
Registered: July 2014
Junior Member
So I made a couple of test programs myself to show you the context of my problem.

IDL version:
http://pastebin.com/bKifVSgE

C version:
http://pastebin.com/T9Ujaxx1
http://pastebin.com/fLhpn6Jy
http://pastebin.com/v8dxfwB0

Make sure you have the GSL and FFTW libraries before trying to use the C version. Let me know if you have trouble getting either program to run.

If you run the programs, you'll see that there is in fact a difference in the outputs like I described.

Also I tried to configure mglib, and I got the following error:
"Could NOT find IDL (missing: IDL_LIBRARY IDL_INCLUDE_DIR)"

Is it because I have GDL and not IDL on my computer?

Thanks again,
Sam
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: rebin vs congrid
Next Topic: IDL and C inter-language communication / call_external()

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

Current Time: Fri Oct 10 09:18:11 PDT 2025

Total time taken to generate the page: 0.07995 seconds