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.leftShift
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Calcula el desplazamiento hacia la izquierda de v1 en v2 bits para cada elemento.
Uso | Muestra |
---|
Array.leftShift(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\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. |"]]