Announcement: All noncommercial projects registered to use Earth Engine before April 15, 2025 must verify noncommercial eligibility to maintain Earth Engine access.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-10-06 UTC."],[[["\u003cp\u003eComputes the cubic root of each element in an input array.\u003c/p\u003e\n"],["\u003cp\u003eReturns a new array with the calculated cubic roots.\u003c/p\u003e\n"],["\u003cp\u003eSupports various array dimensions and numeric data types.\u003c/p\u003e\n"],["\u003cp\u003eProvides examples in JavaScript, Python and Colab environments.\u003c/p\u003e\n"]]],[],null,["On an element-wise basis, computes the cubic root of the input.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------|---------|\n| Array.cbrt`()` | Array |\n\n| Argument | Type | Details |\n|---------------|-------|------------------|\n| this: `input` | Array | The input array. |\n\nExamples\n\nCode Editor (JavaScript) \n\n```javascript\n// Requires an explicit PixelType if no data.\nprint(ee.Array([], ee.PixelType.int8()).cbrt()); // []\n\nprint(ee.Array([0]).cbrt()); // [0]\nprint(ee.Array([27]).cbrt()); // [3]\nprint(ee.Array([-27]).cbrt()); // -3\n\nprint(ee.Array([0, 1, 8, 27]).cbrt()); // [0,1,2,3]\nprint(ee.Array([[0, 1, 8], [27, 64, 125]]).cbrt()); // [[0,1,2],[3,4,5]]\n```\nPython setup\n\nSee the [Python Environment](/earth-engine/guides/python_install) page for information on the Python API and using\n`geemap` for interactive development. \n\n```python\nimport ee\nimport geemap.core as geemap\n```\n\nColab (Python) \n\n```python\n# Requires an explicit PixelType if no data.\ndisplay(ee.Array([], ee.PixelType.int8()).cbrt()) # []\n\ndisplay(ee.Array([0]).cbrt()) # [0]\ndisplay(ee.Array([27]).cbrt()) # [3]\ndisplay(ee.Array([-27]).cbrt()) # -3\n\ndisplay(ee.Array([0, 1, 8, 27]).cbrt()) # [0, 1, 2, 3]\n\n# [[0, 1, 2], [3, 4, 5]]\ndisplay(ee.Array([[0, 1, 8], [27, 64, 125]]).cbrt())\n```"]]