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

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

[Octave-bug-tracker] [bug #59636] iqr function does not produce Matlab c


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #59636] iqr function does not produce Matlab compatible output
Date: Mon, 7 Dec 2020 20:42:50 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36

Follow-up Comment #3, bug #59636 (project octave):

taking a peek at the iqr function, it dives down into quite a large number of
function calls to statistics functions for what should be a fairly simple
operation.  some quick tictoc tests with large arrays showed calling iqr takes
about 1000x longer than the 1-line code below. 

If anyone knows if that level of complexity is needed, let me know. matlab
does have a subset of iqr inputs that specifically call out working with
probability distributions, which it seems all of those called functions in iqr
are more appropriate for. It would be good to know if 'fixing' iqr to be
compatible is going to break a bunch of other stuff. 

In the meantime I'll code up a compatible, faster iqr function and see if I
can work in any of the other input options. 

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59636>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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