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

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

[Octave-bug-tracker] [bug #50583] Empty arguments to some simple functio


From: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #50583] Empty arguments to some simple functions give inconsistent results to Matlab
Date: Sat, 4 Mar 2023 01:13:24 -0500 (EST)

Update of bug #50583 (project octave):

                  Status:               Confirmed => Need Info              

    _______________________________________________________

Follow-up Comment #6:

question about cov:  as was discussed over on bug #48690, cov is deliberately
matlab incompatible for two input arrays.  This makes producing a compatible
empty input response a bit more difficult because only part of the input
options can be tested against matlab. additionally, there was an inconsistency
in how cov interpreted scalar inputs that further complicated things.   

It had been decided (back in 2017) to go ahead and make a fully compatible
version of cov, with a warning in the help, and a note that the old behavior
could be obtained by using the NaN package's covm function. 

I wrote that version of cov to fix bug #48690 (and can still be found attached
there), which was then pushed to the statistics package .  Looking at this
again with an intent make the core version of cov compatible with empty
inputs, and having a nanflag option, is there any strong objection to pushing
such a version to core for Octave 9 with the same notes/warnings about
backward compatibility? 


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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