ee.Number.cbrt

  • Computes the cubic root of the input.

  • Returns a Number after taking a Number input.

  • Can be used in JavaScript and Python.

Computes the cubic root of the input.
Usage Returns
Number. cbrt () Number
Argument Type Details
this: input
Number The input value.

Examples

Code Editor (JavaScript)

 print 
 ( 
 'Cubic root of 27' 
 , 
  
 ee 
 . 
 Number 
 ( 
 27 
 ). 
 cbrt 
 ()); 
  
 // 3 

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 
 ( 
 'Cubic root of 27:' 
 , 
 ee 
 . 
 Number 
 ( 
 27 
 ) 
 . 
 cbrt 
 ()) 
 # 3 
Create a Mobile Website
View Site in Mobile | Classic
Share by: