Elementary.RootN Method

Returns the n-th root of a number.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
public static double RootN(
	double x,
	int root
)

Parameters

x  Double
A real number.
root  Int32
The root.

Return Value

Double
The cube root of x.

See Also