covariance

Calculates the covariance between two vectors or matrices. Depending on input, function can return scalar, vector or matrix

Arguments

  1. Vector a
  2. Vector b

Output

Resulting covariance

Examples

covariance