إشعار: يجب
إثبات أهلية جميع المشاريع غير التجارية المسجّلة لاستخدام Earth Engine قبل
15 أبريل 2025 من أجل الحفاظ على إمكانية الوصول إلى Earth Engine.
ee.Array.toShort
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
على أساس كل عنصر على حدة، يتم تحويل قيمة الإدخال إلى عدد صحيح 16 بت يحمل علامة.
الاستخدام | المرتجعات |
---|
Array.toShort() | مصفوفة |
الوسيطة | النوع | التفاصيل |
---|
هذا: input | مصفوفة | مصفوفة الإدخال |
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eThe \u003ccode\u003etoShort()\u003c/code\u003e method converts each element of an input array to a signed 16-bit integer.\u003c/p\u003e\n"],["\u003cp\u003eIt operates on an element-by-element basis, transforming the original array into a new array containing the converted values.\u003c/p\u003e\n"],["\u003cp\u003eThe method takes the input array as an argument and returns a new array with the converted values, leaving the original array unchanged.\u003c/p\u003e\n"]]],["The input array is cast element-wise to a signed 16-bit integer. The `toShort()` method, when applied to an array, returns a new array with the converted values. The input array itself serves as the argument for this operation. The method operates on each element of the given array and convert it to a short type.\n"],null,["# ee.Array.toShort\n\nOn an element-wise basis, casts the input value to a signed 16-bit integer.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-------------------|---------|\n| Array.toShort`()` | Array |\n\n| Argument | Type | Details |\n|---------------|-------|------------------|\n| this: `input` | Array | The input array. |"]]