gnu-octave / statistics

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

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

Closed NRJank closed 8 months ago

NRJank commented 8 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.