ee.Array.cbrt

এলিমেন্ট-ভিত্তিক পদ্ধতিতে, ইনপুটের ঘনমূল গণনা করে।

ব্যবহাররিটার্ন
Array.cbrt()অ্যারে
আর্গুমেন্টধরনবিবরণ
এটি: inputঅ্যারেইনপুট অ্যারে।

উদাহরণ

কোড এডিটর (জাভাস্ক্রিপ্ট)

// Requires an explicit PixelType if no data.
print(ee.Array([], ee.PixelType.int8()).cbrt());  // []

print(ee.Array([0]).cbrt());  // [0]
print(ee.Array([27]).cbrt());  // [3]
print(ee.Array([-27]).cbrt());  // -3

print(ee.Array([0, 1, 8, 27]).cbrt());  // [0,1,2,3]
print(ee.Array([[0, 1, 8], [27, 64, 125]]).cbrt());  // [[0,1,2],[3,4,5]]

Python সেট-আপ

Python API এবং ইন্টার‍্যাক্টিভ ডেভেলপমেন্টের জন্য geemap ব্যবহার করা সম্পর্কে তথ্যের জন্য Python এনভায়রনমেন্ট পৃষ্ঠা দেখুন।

import ee
import geemap.core as geemap

Colab (Python)

# Requires an explicit PixelType if no data.
display(ee.Array([], ee.PixelType.int8()).cbrt())  # []

display(ee.Array([0]).cbrt())  # [0]
display(ee.Array([27]).cbrt())  # [3]
display(ee.Array([-27]).cbrt())  # -3

display(ee.Array([0, 1, 8, 27]).cbrt())  # [0, 1, 2, 3]

# [[0, 1, 2], [3, 4, 5]]
display(ee.Array([[0, 1, 8], [27, 64, 125]]).cbrt())