Объявление : Все некоммерческие проекты, зарегистрированные для использования Earth Engine до
15 апреля 2025 года, должны
подтвердить некоммерческое право на сохранение доступа к Earth Engine.
ee.Array.leftShift
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Поэлементно вычисляет сдвиг влево v1 на v2 бит.
Использование | Возврат | Array. leftShift (right) | Множество |
Аргумент | Тип | Подробности | это: left | Множество | Левое значение. |
right | Множество | Правое значение. |
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-24 UTC.
[null,null,["Последнее обновление: 2025-07-24 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eleftShift\u003c/code\u003e method performs a bitwise left shift operation on corresponding elements of two arrays.\u003c/p\u003e\n"],["\u003cp\u003eIt takes the \u003ccode\u003eright\u003c/code\u003e array as input and shifts the bits of the \u003ccode\u003eleft\u003c/code\u003e array elements by the corresponding number of positions specified in the \u003ccode\u003eright\u003c/code\u003e array.\u003c/p\u003e\n"],["\u003cp\u003eThe result is a new array containing the shifted values.\u003c/p\u003e\n"]]],["The function performs an element-wise left bit shift operation between two arrays. It takes two arrays as input: `left` (the array to be shifted) and `right` (the array defining the number of bits to shift). Each element in `left` is shifted left by the corresponding number of bits specified in `right`. The output is a new array containing the results of these shifts. The method `Array.leftShift(right)` returns the new array.\n"],null,["# ee.Array.leftShift\n\nOn an element-wise basis, calculates the left shift of v1 by v2 bits.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|--------------------------|---------|\n| Array.leftShift`(right)` | Array |\n\n| Argument | Type | Details |\n|--------------|-------|-----------------------|\n| this: `left` | Array | The left-hand value. |\n| `right` | Array | The right-hand value. |"]]