ee.Number.erfInv

  • The Number.erfInv() method computes the inverse error function of a given input number.

  • It takes a single argument, which is the number for which to compute the inverse error function.

  • The method returns a Number representing the result of the inverse error function computation.

  • Examples demonstrate calculating the inverse error function for values like -1, -0.001, 0, 0.001, and 1, yielding results such as -Infinity, -0.000886227, 0, 0.000886227, and Infinity respectively.

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

Examples

Code Editor (JavaScript)

 print 
 ( 
 'Inverse error function of -1' 
 , 
  
 ee 
 . 
 Number 
 ( 
 - 
 1 
 ). 
 erfInv 
 ()); 
  
 // -Infinity 
 print 
 ( 
 'Inverse error function of -0.001' 
 , 
  
 ee 
 . 
 Number 
 ( 
 - 
 0.001 
 ). 
 erfInv 
 ()); 
  
 // -0.000886227 
 print 
 ( 
 'Inverse error function of 0' 
 , 
  
 ee 
 . 
 Number 
 ( 
 0 
 ). 
 erfInv 
 ()); 
  
 // 0 
 print 
 ( 
 'Inverse error function of 0.001' 
 , 
  
 ee 
 . 
 Number 
 ( 
 0.001 
 ). 
 erfInv 
 ()); 
  
 // 0.000886227 
 print 
 ( 
 'Inverse error function of 1' 
 , 
  
 ee 
 . 
 Number 
 ( 
 1 
 ). 
 erfInv 
 ()); 
  
 // Infinity 

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 error function of -1:' 
 , 
 ee 
 . 
 Number 
 ( 
 - 
 1 
 ) 
 . 
 erfInv 
 ()) 
 # -Infinity 
 display 
 ( 
 'Inverse error function of -0.001:' 
 , 
 ee 
 . 
 Number 
 ( 
 - 
 0.001 
 ) 
 . 
 erfInv 
 ()) 
 # -0.000886227 
 display 
 ( 
 'Inverse error function of 0:' 
 , 
 ee 
 . 
 Number 
 ( 
 0 
 ) 
 . 
 erfInv 
 ()) 
 # 0 
 display 
 ( 
 'Inverse error function of 0.001:' 
 , 
 ee 
 . 
 Number 
 ( 
 0.001 
 ) 
 . 
 erfInv 
 ()) 
 # 0.000886227 
 display 
 ( 
 'Inverse error function of 1:' 
 , 
 ee 
 . 
 Number 
 ( 
 1 
 ) 
 . 
 erfInv 
 ()) 
 # Infinity 
Create a Mobile Website
View Site in Mobile | Classic
Share by: