ee.Number.sqrt

Computes the square root of the input.

שימושהחזרות
Number.sqrt()מספר
ארגומנטסוגפרטים
זה: inputמספרערך הקלט.

דוגמאות

עורך הקוד (JavaScript)

// Values less than 0 are invalid.
print('Square root of 100', ee.Number(100).sqrt());  // 10

הגדרת Python

מידע על Python API ועל שימוש ב-geemap לפיתוח אינטראקטיבי מופיע בדף Python Environment.

import ee
import geemap.core as geemap

Colab (Python)

# Values less than 0 are invalid.
print('Square root of 100:', ee.Number(100).sqrt().getInfo())  # 10