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

problem with IDL statistics



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.
It seems that certain ranges of values work and others don't.
It doesn't matter if I use integers, long integers, double
precision,etc.
I get the exact same problem when I use other similar statements, such
as:
result=randomn(seed, 256,256,poisson=3.8e7)
again it freezes up for 3.8e7 but not 3.9e7
Very strange!
Any comments?
Thanks,
Eric


Sent via Deja.com http://www.deja.com/
Before you buy.