gnu-octave / statistics

The Statistics package for GNU Octave
GNU General Public License v3.0
24 stars 22 forks source link

median and mad: correct median all-NaN input handling, add BISTS to median and mad #132

Closed NRJank closed 5 months ago

NRJank commented 5 months ago

as per https://savannah.gnu.org/bugs/index.php?65405

codepath with 'omitnan' and vectors in median mishandled all-nan case. add shortcut codepath for median to handle all-nan's, and add BISTs to median and mad for related cases.