ee.Number.cbrt

計算輸入值的立方根。

用量傳回
Number.cbrt()數字
引數類型詳細資料
這個:input數字輸入值。

範例

程式碼編輯器 (JavaScript)

print('Cubic root of 27', ee.Number(27).cbrt());  // 3

Python 設定

請參閱 Python 環境頁面,瞭解 Python API 和如何使用 geemap 進行互動式開發。

import ee
import geemap.core as geemap

Colab (Python)

print('Cubic root of 27:', ee.Number(27).cbrt().getInfo())  # 3