ee.Array.matrixToDiag

Computes a square diagonal matrix from a single column matrix.

UsageReturns
Array.matrixToDiag()Array
ArgumentTypeDetails
this: inputArray

The input array.

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!