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.divide
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Divide el primer valor por el segundo elemento a elemento y muestra 0 para la división por 0.
Uso | Muestra |
---|
Array.divide(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\u003e\u003ccode\u003eArray.divide\u003c/code\u003e performs element-wise division between two arrays.\u003c/p\u003e\n"],["\u003cp\u003eThe method handles division by zero gracefully by returning 0 in such cases.\u003c/p\u003e\n"],["\u003cp\u003eIt returns a new array containing the results of the division.\u003c/p\u003e\n"]]],["Divides elements of the `left` array by corresponding elements of the `right` array. If division by zero occurs, the result is zero. The operation is element-wise and returns a new array. The `left` and `right` arrays are the operands, with `left` being the dividend and `right` being the divisor in the division operation.\n"],null,["# ee.Array.divide\n\nOn an element-wise basis, divides the first value by the second, returning 0 for division by 0.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-----------------------|---------|\n| Array.divide`(right)` | Array |\n\n| Argument | Type | Details |\n|--------------|-------|-----------------------|\n| this: `left` | Array | The left-hand value. |\n| `right` | Array | The right-hand value. |"]]