ee.Array.int16
On an element-wise basis, casts the input value to a signed 16-bit integer.
Usage | Returns |
---|
Array.int16() | Array |
Argument | Type | Details |
---|
this: input | Array | The input array. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["This operation casts the input array values to signed 16-bit integers."],["It operates element-wise, meaning it transforms each individual element of the input array."],["The method returns a new array with the transformed values, leaving the original array unchanged."],["`Array.int16()` is the method used to initiate this casting operation, accepting the input array as an argument."]]],["The input array is cast element-wise to a signed 16-bit integer. The `int16()` method, when applied to an array, takes the array as input and returns a new array. Each element of the input array is converted to its corresponding signed 16-bit integer representation in the output array. The method operates on an element-by-element level.\n"]]