# HG changeset patch # User Carlo de Falco # Date 1327753520 -3600 # Node ID bedccd0abe39ff305d8a8799aaae347109519f9f # Parent 4f8d2931f8867ae2bc7a592940d62430ece398a2 Add comment in var.m docs about behaviour when input is a scalar * var.m: Add comment in docs about behaviour when input is a scalar diff -r 4f8d2931f886 -r bedccd0abe39 scripts/statistics/base/var.m --- a/scripts/statistics/base/var.m Fri Jan 27 20:54:15 2012 -0800 +++ b/scripts/statistics/base/var.m Sat Jan 28 13:25:20 2012 +0100 @@ -51,6 +51,9 @@ ## normalizes with @math{N}, this provides the second moment around the mean ## @end table ## +## If @math{N==1} the value of @var{opt} is ignored and normalization +## by @math{N} is used. +## ## If the optional argument @var{dim} is given, operate along this dimension. ## @seealso{cov, std, skewness, kurtosis, moment} ## @end deftypefn