.. highlightlang:: us .. _cov: cov === .. index:: cov .. us.tag cov ENGLISH New5120 :ref:`cov` returns the covariance of its parameter. .. function:: rsCov = cov(rvX) rsCov = cov(rvX, rvY) .. us.return **Return Value** *rsCov* is the covariance. .. us.params **Parameters** .. uparam:: rvX *rvX* is a real vector. .. uparam:: rvY *rvY* is a real vector. .. us.example **Example** :: * cov([-2,3,1]) 6.3333 .. us.history **History** .. list-table:: :header-rows: 1 * - Version - Description * - 5.12.0 - New .. seealso:: :ref:`overview-mathematic`, :ref:`sum`, :ref:`mean`, :ref:`std`, :ref:`corrcoef` :sub:`id-845731`