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

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

[Octave-bug-tracker] [bug #48690] basic statistics functions should retu


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #48690] basic statistics functions should return NaN on empty input
Date: Mon, 30 Jan 2017 14:39:43 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0

Follow-up Comment #21, bug #48690 (project octave):

also, two requests if anyone wants to take a look at cov:

1 - I would appreciate if anyone had a good example of how using inputParser
would have made varargin handling easier. Having little familiarity with it, I
thought this would be a good example to learn on. But it seemed that by the
time I was done writing all the validation functions, it wasn't going to be
any less messy than the manual parsing I came up with, so I left it that way.

2 - the case of 'partialrows' for a single input is a bit odd. I wound up
using a recursive call to cov with the 'omitrows' parameter in a double for
loop. This does the job, but I'm sure it's ridiculously slow between the
looping and the overhead from calling cov. If it's not to onerous, I'd
appreciate suggestions on how to flatten it. 

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?48690>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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