語言

Single.RootN(Single, Int32) 方法

定義

計算一個值的第 n 次根。

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

參數

x
Single

要計算的根的值 n。

n
Int32

計算的根的次數。

傳回

n的x第根。

實作

適用於