IRoot

IRoot(x, n)

Extract the n integral root of the given x.

IRoot(x, n) = \sqrt[n]{x}

Parameters:
nint
xfloat
Returns:
resultfloat

Examples

>>> import openturns as ot
>>> ot.SpecFunc.IRoot(-15.625, 3)
-2.5