ee.Number.erfc

Tính hàm sai số bù của dữ liệu đầu vào.

Cách sử dụngGiá trị trả về
Number.erfc()Số
Đối sốLoạiThông tin chi tiết
this: inputSốGiá trị đầu vào.

Ví dụ

Trình soạn thảo mã (JavaScript)

print('Complementary error function of -10',
      ee.Number(-10).erfc());  // 2

print('Complementary error function of -0.001',
      ee.Number(-0.001).erfc());  // 1.001128378

print('Complementary error function of 0',
      ee.Number(0).erfc());  // 1

print('Complementary error function of 0.001',
      ee.Number(0.001).erfc());  // 0.998871621

print('Complementary error function of 10',
      ee.Number(10).erfc());  // 2.088487583e-45

Thiết lập Python

Hãy xem trang Môi trường Python để biết thông tin về API Python và cách sử dụng geemap cho quá trình phát triển tương tác.

import ee
import geemap.core as geemap

Colab (Python)

print('Complementary error function of -10:',
      ee.Number(-10).erfc().getInfo())  # 2

print('Complementary error function of -0.001:',
      ee.Number(-0.001).erfc().getInfo())  # 1.001128378

print('Complementary error function of 0:',
      ee.Number(0).erfc().getInfo())  # 1

print('Complementary error function of 0.001:',
      ee.Number(0.001).erfc().getInfo())  # 0.998871621

print('Complementary error function of 10:',
      ee.Number(10).erfc().getInfo())  # 2.088487583e-45