Mercurial > octave
diff etc/NEWS.8.md @ 31421:21962c678648
mean.m: more Matlab compatibility (bugs #58116, #50571).
Background: This improved function was released with the Statistics Package.
* scripts/statistics/mean.m: now accepts vector dimensions and options to
handle `NaN` values. The option `"a"` (arithmetic mean), `"g"` (geometric
mean), and `"h"` (harmonic mean) are no longer accepted, only the arithmetic
mean is computed. For the geometric and harmonic mean, please use respective
functions `geomean` and `harmmean` from the Octave Statistics package.
* etc/NEWS.8.md: announce changes.
Co-authored-by: Kai T. Ohlhus <k.ohlhus@gmail.com>
author | Andreas Bertsatos <abertsatos@biol.uoa.gr> |
---|---|
date | Sun, 13 Nov 2022 01:44:54 +0900 |
parents | 870036573716 |
children | 662499ba0d21 |
line wrap: on
line diff
--- a/etc/NEWS.8.md Sat Nov 12 14:16:14 2022 +0100 +++ b/etc/NEWS.8.md Sun Nov 13 01:44:54 2022 +0900 @@ -33,7 +33,7 @@ Previously, the product of two large primes took much longer to factorize than highly composite inputs. -- `Refine` option is now implemented in functions `ode45`, `ode23`, +- `Refine` option is now implemented in functions `ode45`, `ode23`, and `ode23s`. ### Graphical User Interface @@ -70,6 +70,12 @@ - `quadgk` now stops iterating when `error <= tolerance` while the previous condition was `error < tolerance`. +- `mean` now accepts vector dimensions and options to handle `NaN` values. + The option `"a"` (arithmetic mean), `"g"` (geometric mean), and `"h"` + (harmonic mean) are no longer accepted, only the arithmetic mean is computed. + For the geometric and harmonic mean, please use respective functions + `geomean` and `harmmean` from the Octave Statistics package. + - `var` and `std` now optionally output a second argument containing the mean or weighted mean. @@ -85,9 +91,9 @@ Object | Property | Default State ------------|------------------|------------ `figure` | `"dockcontrols"` | `"on"` - + - `ode45`, `ode23`, and `ode23s` have improved results for options `Events`, - `OutputFcn`, and `Refine`, along with corrected orientation of struct + `OutputFcn`, and `Refine`, along with corrected orientation of struct outputs. ### Alphabetical list of new functions added in Octave 8