ee.Reducer.covariance

Creates a reducer that reduces some number of 1-D arrays of the same length N to a covariance matrix of shape NxN. This reducer uses the one-pass covariance formula from Sandia National Laboratories Technical Report SAND2008-6212, which can lose accuracy if the values span a large range.

UsageReturns
ee.Reducer.covariance()Reducer

No arguments.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!