ee.Number.erfc

Computes the complementary error function of the input.
UsageReturns
Number.erfc()Number
ArgumentTypeDetails
this: inputNumberThe input value.

Examples

Code Editor (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