ee.Array.uint16
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
แปลงค่าอินพุตเป็นจำนวนเต็มแบบไม่มีเครื่องหมาย 16 บิตทีละองค์ประกอบ
การใช้งาน | การคืนสินค้า |
---|
Array.uint16() | อาร์เรย์ |
อาร์กิวเมนต์ | ประเภท | รายละเอียด |
---|
ดังนี้ input | อาร์เรย์ | อาร์เรย์อินพุต |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eThis function transforms the elements of an input array into unsigned 16-bit integers.\u003c/p\u003e\n"],["\u003cp\u003eIt operates on each element individually, ensuring every value is converted.\u003c/p\u003e\n"],["\u003cp\u003eThe function returns a new array containing the converted values, maintaining the original array's structure.\u003c/p\u003e\n"],["\u003cp\u003eIt accepts one argument, the input array, which can hold any data type.\u003c/p\u003e\n"]]],["The `Array.uint16()` function casts each element of an input array to an unsigned 16-bit integer. It operates element-wise, transforming each value within the input array. The function accepts a single argument, which is the input array itself. The function returns a new array containing the converted unsigned 16-bit integers.\n"],null,["# ee.Array.uint16\n\nOn an element-wise basis, casts the input value to an unsigned 16-bit integer.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|------------------|---------|\n| Array.uint16`()` | Array |\n\n| Argument | Type | Details |\n|---------------|-------|------------------|\n| this: `input` | Array | The input array. |"]]