bugGNU Octave - Bugs: bug #34363, Poor performance for certain...

 
 

bug #34363: Poor performance for certain statistical distributions

Submitted by:  Rik <rik5>
Submitted on:  Fri 23 Sep 2011 04:50:54 AM UTC  
 
Category: LibrariesSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Performance
Status: NoneAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 23 Sep 2011 04:50:54 AM UTC, original submission:

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.

Rik <rik5>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup