ee.Array.matrixToDiag

Computes a square diagonal matrix from a single column matrix.
UsageReturns
Array.matrixToDiag()Array
ArgumentTypeDetails
this: inputArrayThe input array.