jax.numpy.cbrt

Contents

jax.numpy.cbrt#

jax.numpy.cbrt(x, /)[source]#

Return the cube-root of an array, element-wise.

LAX-backend implementation of numpy.cbrt().

Original docstring below.

Added in version 1.10.0.

Parameters:

x (array_like) – The values whose cube-roots are required.

Returns:

y – An array of the same shape as x, containing the cube cube-root of each element in x. If out was provided, y is a reference to it. This is a scalar if x is a scalar.

Return type:

ndarray