Function: calcFunc-vvar
calcFunc-vvar is an autoloaded and byte-compiled function defined in
calc-stat.el.gz.
Signature
(calcFunc-vvar &rest VECS)
Source Code
;; Defined in /usr/src/emacs/lisp/calc/calc-stat.el.gz
;;; Compute the sample variance or standard deviation of numbers or vectors.
;;; (If the numbers are error forms, only the mean part of them is used.)
(defun calcFunc-vvar (&rest vecs)
(if (and (= (length vecs) 1)
(memq (car-safe (car vecs)) '(sdev intv)))
(if (eq (car-safe (car vecs)) 'intv)
(math-intv-variance (car vecs) nil)
(math-sqr (nth 2 (car vecs))))
(math-covariance vecs nil nil 0)))