numpy.cbrt(x[, out]) =
Return the cube-root of an array, element-wise.
New in version 1.10.0.
Parameters: |
x : array_like The values whose cube-roots are required. out : ndarray, optional Alternate array object in which to put the result; if provided, it must have the same shape as |
---|---|
Returns: |
y : ndarray An array of the same shape as |
>>> np.cbrt([1,8,27]) array([ 1., 2., 3.])
© 2008–2017 NumPy Developers
Licensed under the NumPy License.
https://docs.scipy.org/doc/numpy-1.12.0/reference/generated/numpy.cbrt.html