ee.Array.matrixTrace

Computes the trace of the matrix.

UsageReturns
Array.matrixTrace()Number
ArgumentTypeDetails
this: inputArray

The array to compute on.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!