ee.Array.matrixTrace

Computes the trace of the matrix.

UsageReturns
Array.matrixTrace()Number
ArgumentTypeDetails
this: inputArray

The array to compute on.