Next: , Previous: , Up: Internal Routines   [Contents][Index]

15.5.674 variance

variance(x [, mode, weights=weights, /sample, /population, /keepdims, /double, /omitnans])

By default, this function returns the sample variance of numerical array x, which is the square of the corresponding standard deviation returned by sdev. The arguments, keywords, and type and dimensions of the result are exactly the same as for the sdev function.

See also: sdev, !lastsdev, !lastmean