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: Rik
Subject: [Octave-bug-tracker] [bug #34363] Poor performance for certain statistical distributions
Date: Fri, 23 Sep 2011 04:50:55 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0

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

                 Summary: Poor performance for certain statistical
distributions
                 Project: GNU Octave
            Submitted by: rik5
            Submitted on: Thu 22 Sep 2011 09:50:54 PM PDT
                Category: Libraries
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Performance
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

The following functions in scripts/statistics/distributions are implemented
with loops which are slow in Octave.

binoinv
nbininv
poissinv

betainv
gaminv

hygecdf
hygeinv
hygernd

The first three are problematic because they use a 'while (1)' construction
and the stopping condition is not always met. For example,

poissinv(1-eps,4)

will create an infinite loop that can only be broken with Ctrl-C.

At the very least, the 'while (1)' construction should be replaced with a for
loop which will eventually terminate.

The best possible outcome would be to recode these entirely to get rid of the
loops.




    _______________________________________________________

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]