ee.Number.erfcInv

  • Number.erfcInv() computes the inverse complementary error function of a number.

  • The method returns a Number.

  • Examples demonstrate how to use erfcInv() in both JavaScript and Python, showing the output for inputs 0, 0.001, and 1.

Computes the inverse complementary error function of the input.
Usage Returns
Number. erfcInv () Number
Argument Type Details
this: input
Number The input value.

Examples

Code Editor (JavaScript)

 print 
 ( 
 'Inverse complementary error function of 0' 
 , 
  
 ee 
 . 
 Number 
 ( 
 0 
 ). 
 erfcInv 
 ()); 
  
 // Infinity 
 print 
 ( 
 'Inverse complementary error function of 0.001' 
 , 
  
 ee 
 . 
 Number 
 ( 
 0.001 
 ). 
 erfcInv 
 ()); 
  
 // 2.326753765 
 print 
 ( 
 'Inverse complementary error function of 1' 
 , 
  
 ee 
 . 
 Number 
 ( 
 1 
 ). 
 erfcInv 
 ()); 
  
 // 0 

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 

Colab (Python)

 display 
 ( 
 'Inverse complementary error function of 0:' 
 , 
 ee 
 . 
 Number 
 ( 
 0 
 ) 
 . 
 erfcInv 
 ()) 
 # Infinity 
 display 
 ( 
 'Inverse complementary error function of 0.001:' 
 , 
 ee 
 . 
 Number 
 ( 
 0.001 
 ) 
 . 
 erfcInv 
 ()) 
 # 2.326753765 
 display 
 ( 
 'Inverse complementary error function of 1:' 
 , 
 ee 
 . 
 Number 
 ( 
 1 
 ) 
 . 
 erfcInv 
 ()) 
 # 0 
Create a Mobile Website
View Site in Mobile | Classic
Share by: