[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: |
Sun, 16 Aug 2015 03:32:54 +0000 |
User-agent: |
Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1) |
Follow-up Comment #5, bug #34363 (project octave):
I reviewed and made some minor changes to follow Octave coding guidelines.
Appendix C and D of the documentation have some of the guidelines we use.
Things I changed
1) Use '##' for comments that standalone on a line
2) Use '#' for comments that are appended to a line of code
3) Use parentheses around the test clause in an if statement
4) Use space between function name and opening parenthesis: 'find (x)' rather
than 'find(x)'
I've uploaded the latest version as poissinv3.m. I've also uploaded a file I
was using to test the new implementation against the old one. I found that
they occasionally disagree by an integer (1 or 2) and not just a small number
on the order of eps. Could you investigate? I'm pretty sure it's something
small having to do with the cutover between the limit and the analytic
approximation, but I can't check the new implementation in until I'm certain
it is producing correct results.
(file #34654, file #34655)
_______________________________________________________
Additional Item Attachment:
File name: poissinv3.m Size:6 KB
File name: tst_poissinv.m Size:0 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?34363>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #34363] Poor performance for certain statistical distributions, Lachlan Andrew, 2015/08/08
- [Octave-bug-tracker] [bug #34363] Poor performance for certain statistical distributions, Lachlan Andrew, 2015/08/09
- [Octave-bug-tracker] [bug #34363] Poor performance for certain statistical distributions, Rik, 2015/08/11
- [Octave-bug-tracker] [bug #34363] Poor performance for certain statistical distributions, Lachlan Andrew, 2015/08/15
- [Octave-bug-tracker] [bug #34363] Poor performance for certain statistical distributions,
Rik <=
- [Octave-bug-tracker] [bug #34363] Poor performance for certain statistical distributions, Lachlan Andrew, 2015/08/16
- [Octave-bug-tracker] [bug #34363] Poor performance for certain statistical distributions, Rik, 2015/08/16
- [Octave-bug-tracker] [bug #34363] Poor performance for certain statistical distributions, Lachlan Andrew, 2015/08/18
- [Octave-bug-tracker] [bug #34363] Poor performance for certain statistical distributions, Michael Godfrey, 2015/08/18
- [Octave-bug-tracker] [bug #34363] Poor performance for certain statistical distributions, Rik, 2015/08/18
- [Octave-bug-tracker] [bug #34363] Poor performance for certain statistical distributions, Rik, 2015/08/18