Anúncio: todos os projetos não comerciais registrados para usar o Earth Engine antes de
15 de abril de 2025 precisam
verificar a qualificação não comercial para manter o acesso ao Earth Engine.
ee.Array.rightShift
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Calcula o deslocamento à direita com sinal de v1 por v2 bits, elemento por elemento.
Uso | Retorna |
---|
Array.rightShift(right) | Matriz |
Argumento | Tipo | Detalhes |
---|
isso: left | Matriz | O valor à esquerda. |
right | Matriz | O valor à direita. |
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2025-07-26 UTC.
[null,null,["Última atualização 2025-07-26 UTC."],[[["\u003cp\u003eThe \u003ccode\u003erightShift\u003c/code\u003e method performs a bitwise signed right shift operation on two arrays.\u003c/p\u003e\n"],["\u003cp\u003eIt shifts the elements of the 'left' array by the number of bits specified in the corresponding elements of the 'right' array.\u003c/p\u003e\n"],["\u003cp\u003eThe result is a new array containing the shifted values.\u003c/p\u003e\n"],["\u003cp\u003eThe original arrays, 'left' and 'right', remain unchanged.\u003c/p\u003e\n"]]],["The core function is an element-wise signed right shift operation. It takes two arrays, `left` and `right`, as input. `left` represents the value being shifted, and `right` specifies the number of bits to shift. The function, `Array.rightShift(right)`, calculates the signed right shift of each element in the `left` array by the corresponding number of bits specified in the `right` array, returning a new `Array` with the shifted results.\n"],null,["# ee.Array.rightShift\n\nOn an element-wise basis, calculates the signed right shift of v1 by v2 bits.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|---------------------------|---------|\n| Array.rightShift`(right)` | Array |\n\n| Argument | Type | Details |\n|--------------|-------|-----------------------|\n| this: `left` | Array | The left-hand value. |\n| `right` | Array | The right-hand value. |"]]