octave-maintainers
[Top][All Lists]
Advanced

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

Re: Low hanging fruit - Accelerated random distribution functions


From: John W. Eaton
Subject: Re: Low hanging fruit - Accelerated random distribution functions
Date: Fri, 23 Feb 2007 05:32:02 -0500

On 23-Feb-2007, David Bateman wrote:

| Ok, then consider the attached patch to have replace pascal_* with nbin*
| and adapt nbinrnd accordingly. Note that nbinrnd returns NaN for invalid
| n and p so it needs to be slightly more complex that the code you proposed..

I'm not an expert here, so if these improve compatibility and
performance then please check them in.

Thanks,

jwe


reply via email to

[Prev in Thread] Current Thread [Next in Thread]