R/api.R
nv_log10.Rd
Element-wise base-10 logarithm. You can also use log10().
log10()
nv_log10(operand)
(arrayish) Operand.
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 #> 1 #> 2 #> 3 #> [ CPUf32{4} ]