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

Home » Public Forums » archive » Re: problem with IDL statistics
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: problem with IDL statistics [message #20513] Wed, 28 June 2000 00:00 Go to previous message
hahn is currently offline  hahn
Messages: 108
Registered: November 1993
Senior Member
ectucker@aol.com wrote:

> In my code I have the line:
> result=randomu(seed, binomial=[3.8e7, .72])
> this freezes up the code (acts as if it is in an infinite loop) at the
> statement above.
> If i change the 3.8e7 to 3.9e7, it works fine.

The same here: IDL 5.2, Windows 98. However,

> result=randomn(seed, 256,256,poisson=3.8e7)
> again it freezes up for 3.8e7 but not 3.9e7

This gives an error message:

IDL> result=randomn(seed, 256,256,poisson=3.8e7)
% Program caused arithmetic error: Floating underflow

> Very strange!

Indeed.

Norbert
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: unwanted tick label
Next Topic: Creating a GIF file from a graphics window in IDL

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

Current Time: Thu Oct 09 20:11:08 PDT 2025

Total time taken to generate the page: 0.24490 seconds