Y-th Root of X Function
- Updated2025-07-30
- 2 minute(s) read
Returns the yth root of the input value x. If x is not complex, x must be greater than or equal to zero unless y is an integer. Otherwise, the result is NaN.
The connector pane displays the default data types for this polymorphic function.

Inputs/Outputs
y
—
y can be a scalar number, array or cluster of numbers, array of clusters of numbers, and so on.
x
—
x can be a scalar number, array or cluster of numbers, array of clusters of numbers, and so on.
y-th root(x)
—
y-th root(x) returns the yth root of x. When x and y are complex, the following equation defines y-th root(x): y-th root(x) = exp((1/y) * ln(x)) Refer to the Natural Logarithm function and the Exponential function for more information. |
Examples
Refer to the following example files included with LabVIEW.
- labview\examples\Mathematics\Elementary & Special Functions\Exponential Functions\Exponential.vi
y
—
y-th root(x)
—