Anuncio: Todos los proyectos no comerciales registrados para usar Earth Engine antes del
15 de abril de 2025 deben
verificar su elegibilidad no comercial para mantener el acceso a Earth Engine.
ee.Array.rightShift
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Calcula el desplazamiento a la derecha con signo de v1 en bits de v2, elemento por elemento.
Uso | Muestra |
---|
Array.rightShift(right) | Array |
Argumento | Tipo | Detalles |
---|
esta: left | Array | Es el valor del lado izquierdo. |
right | Array | Es el valor del lado derecho. |
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2025-07-26 (UTC)
[null,null,["Última actualización: 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. |"]]