Method RootN
RootN(BigRational, Int32, Int32)
Computes the n-th root of a value.
Declaration
public static BigRational RootN(BigRational x, int n, int digits)
Parameters
Type | Name | Description |
---|---|---|
BigRational | x | The value whose |
System.Int32 | n | The degree of the root to be computed. |
System.Int32 | digits | The maximum number of fractional decimal digits in the return value. |
Returns
Type | Description |
---|---|
BigRational | The |
RootN(BigRational, Int32)
Computes the n-th root of a value.
Declaration
public static BigRational RootN(BigRational x, int n)
Parameters
Type | Name | Description |
---|---|---|
BigRational | x | The value whose |
System.Int32 | n | The degree of the root to be computed. |
Returns
Type | Description |
---|---|
BigRational | The |
Remarks
Part of the new NET 7 number type system see System.Numerics.IRootFunctions`1.RootN(`0,System.Int32).
The desired precision can preset by MaxDigits