ee.Array.matrixDiagonal

Computes the diagonal of the matrix in a single column.

UsageReturns
Array.matrixDiagonal()Array
ArgumentTypeDetails
this: inputArray

The input array.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!