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: Tue, 18 Aug 2015 06:46:59 +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 #8, bug #34363 (project octave):

Thanks for the extra info, Rik.

The bug is fixed.  The problem was that I was assuming  X  to be a vector, not
matrix.  I used  if (any (k))  instead of  if (any (k(:))).

Previously, I only tested it with vectors.  I tried your script with a
100x100x100 case, and it gave eight out-by-one errors.  I've also tried it
when the mean is a matrix and X is a scalar, and both are matrices, and both
are three dimensional.

(file #34672)
    _______________________________________________________

Additional Item Attachment:

File name: poissinv4.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]