R/api.R
nv_log10.Rd
Element-wise base-10 logarithm. You can also use log10().
log10()
nv_log10(x)
(arrayish) Input array.
arrayish
arrayish Has the same shape and data type as the input.
nv_log(), nv_log2()
nv_log()
nv_log2()
x <- nv_array(c(1, 10, 100, 1000)) nv_log10(x) #> AnvlArray #> 0.0000 #> 1.0000 #> 2.0000 #> 3.0000 #> [ CPUf32{4} ]