scipy.special.cbrt

scipy.special.cbrt(x) = <ufunc 'cbrt'>

的元素立方根 x

参数
xarray_like

x 必须包含实数。

退货
浮动

中每个值的立方根 x

示例

>>> from scipy.special import cbrt
>>> cbrt(8)
2.0
>>> cbrt([-8, -3, 0.125, 1.331])
array([-2.        , -1.44224957,  0.5       ,  1.1       ])