Mercurial > octave
diff NEWS @ 30410:bc0de453fb6a stable
extend var and std with dim options (bug #58116) and weights (patch #10103)
* /scripts/statistics/var.m: adds scalar and vector weights, vector and "all"
dim options, compatible empty input handling. Also updates BISTs and dosctring.
* /scripts/statistics/std.m: simplifies std as simple sqrt(var(x)) wrapper,
inheriting the extensions to var. Updates docstring and BISTs accordingly.
* /NEWS: notes improved matlab compatibility
author | Stefano Guidoni <ilguido@users.sf.net> |
---|---|
date | Wed, 01 Dec 2021 12:42:08 -0500 |
parents | 2f4cd1952f0b |
children | 1fda8d2229d7 420608d1d370 |
line wrap: on
line diff
--- a/NEWS Tue Nov 30 11:04:27 2021 -0500 +++ b/NEWS Wed Dec 01 12:42:08 2021 -0500 @@ -263,6 +263,10 @@ - The function `repelem` now produces a row vector output when the input is a scalar. +- The functions `var` and `std` now accept a weight vector as input and +compute the weigthed variance. Dimension input now allows a vector and +the keyword "all". + ### Alphabetical list of new functions added in Octave 7 * `cospi`