jax.numpy.log10

jax.numpy.log10(x)[source]

Return the base 10 logarithm of the input array, element-wise.

LAX-backend implementation of log10().

Original docstring below.

Parameters

x (array_like) – Input values.

Returns

y – The logarithm to the base 10 of x, element-wise. NaNs are returned where x is negative. This is a scalar if x is a scalar.

Return type

ndarray

References

1

M. Abramowitz and I.A. Stegun, “Handbook of Mathematical Functions”, 10th printing, 1964, pp. 67. http://www.math.sfu.ca/~cbm/aands/

2

Wikipedia, “Logarithm”. https://en.wikipedia.org/wiki/Logarithm