ee.Number.erfc
Computes the complementary error function of the input.
Usage | Returns |
---|
Number.erfc() | Number |
Argument | Type | Details |
---|
this: input | Number | The input value. |
Examples
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
Python setup
See the
Python Environment page for information on the Python API and using
geemap
for interactive development.
import ee
import geemap.core as geemap
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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["This function calculates the complementary error function of a given input number."],["The input is a number and the output is the complementary error function value, also a number."],["Usage involves applying the `.erfc()` method to an `ee.Number` object containing the input value."],["Various examples demonstrate the function's behavior across different input values."]]],[]]