5.4.3. nvector.util.nthroot

nthroot(x, n)[source]

Returns the n’th root of x to machine precision

Parameters
x, n

Examples

>>> import numpy as np
>>> import nvector as nv
>>> np.allclose(nv.nthroot(27.0, 3), 3.0)
True