Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Getting Binomial Distribution under Math::Pari (log) and Combinatorial Method

by tlm (Prior)
on Mar 23, 2005 at 11:16 UTC ( [id://441739]=note: print w/replies, xml ) Need Help??


in reply to Getting Binomial Distribution under Math::Pari (log) and Combinatorial Method

Perl's log is natural log. Change
my $Prob = 10 ** ($log_Prob);
to
my $Prob = exp $log_Prob;

the lowliest monk

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://441739]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2024-03-19 04:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found