octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #34363] Poor performance for certain statistic


From: Lachlan Andrew
Subject: [Octave-bug-tracker] [bug #34363] Poor performance for certain statistical distributions
Date: Mon, 10 Aug 2015 02:16:57 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36

Follow-up Comment #2, bug #34363 (project octave):

Update: The file  poissinv_newnew.m  is an improvement on  poissinv_new.m with
the following changes:
- For scalar  lambda,  it avoids the loop for small cases
- it is optimised for small lambda instead of large lambda, by doing the
explicit summation before doing the asymptotic approximation.

It is about twice as fast as poissinv_new.m when the answer is less than 20,
but slower when the answer is greater than 20 (but is still several orders of
magnitude faster than poissinv.m in that case).

Do we have any usage data to say whether small or large  lambda  is more
common?

Do we have any usage data to say which of these functions is used most often?

(file #34618)
    _______________________________________________________

Additional Item Attachment:

File name: poissinv_newnew.m              Size:6 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?34363>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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