Edit

Share via


Single.RootN(Single, Int32) Method

Definition

Computes the n-th root of a value.

public:
 static float RootN(float x, int n) = System::Numerics::IRootFunctions<float>::RootN;
public static float RootN (float x, int n);
static member RootN : single * int -> single
Public Shared Function RootN (x As Single, n As Integer) As Single

Parameters

x
Single

The value whose n-th root is to be computed.

n
Int32

The degree of the root to be computed.

Returns

The n-th root of x.

Implements

Applies to