ee.Array.divide
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Dzieli pierwszą wartość przez drugą, zwracając 0 w przypadku dzielenia przez 0.
Wykorzystanie | Zwroty |
---|
Array.divide(right) | Tablica |
Argument | Typ | Szczegóły |
---|
to: left | Tablica | Wartość po lewej stronie. |
right | Tablica | Wartość po prawej stronie. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 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. |"]]