On an element-wise basis, selects the minimum of the first and second values.
Usage | Returns |
---|---|
Array.min(right) | Array |
Argument | Type | Details |
---|---|---|
this: left | Array | The left-hand value. |
right | Array | The right-hand value. |
Examples
JavaScript
var empty = ee.Array([], ee.PixelType.int8()); print(empty.min(empty)); // [] print(ee.Array([0, 1, 2, 3]).min(ee.Array([-1, 3, 0, 2]))); // [-1,1,0,2]
Python
# Your example goes here!