Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ee.Reducer.sum
Stay organized with collections
Save and categorize content based on your preferences.
Returns a Reducer that computes the (weighted) sum of its inputs. Where applicable, the output name is "sum".
Usage | Returns | ee.Reducer.sum() | Reducer |
No arguments.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-13 UTC.
[null,null,["Last updated 2024-07-13 UTC."],[[["\u003cp\u003eReturns a Reducer that calculates the sum of its inputs, potentially applying weights if specified.\u003c/p\u003e\n"],["\u003cp\u003eThe output of the reducer is typically named "sum".\u003c/p\u003e\n"],["\u003cp\u003eThis reducer can be accessed using \u003ccode\u003eee.Reducer.sum()\u003c/code\u003e and does not require any arguments.\u003c/p\u003e\n"]]],[],null,["# ee.Reducer.sum\n\nReturns a Reducer that computes the (weighted) sum of its inputs. Where applicable, the output name is \"sum\".\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|--------------------|---------|\n| `ee.Reducer.sum()` | Reducer |\n\n**No arguments.**"]]