Big Float.Root Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.5
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.5
Overload List
| Root( | Returns the square root of a number. |
| Root( | Returns the specified root of a number with the specified accuracy. |
| Root( | Returns the specified root of a number with the specified accuracy. |
Root(BigFloat, Int32)
Returns the square root of a number.
public static BigFloat Root(
BigFloat value,
int order
)Parameters
Return Value
BigFloatThe square root of value.
Remarks
The result has the same relative accuracy as value.
Exceptions
| Argument | value is null. |
Root(BigFloat, Int32, AccuracyGoal)
Returns the specified root of a number with the specified accuracy.
public static BigFloat Root(
BigFloat value,
int order,
AccuracyGoal accuracyGoal
)Parameters
- value BigFloat
- A BigFloat value.
- order Int32
- The order of the root.
- accuracyGoal AccuracyGoal
- An AccuracyGoal value that specifies the desired accuracy of the result.
Return Value
BigFloatThe root of order order of value with an accuracy within accuracyGoal.
Exceptions
| Argument | value is null. |
Root(BigFloat, Int32, AccuracyGoal, RoundingMode)
Returns the specified root of a number with the specified accuracy.
public static BigFloat Root(
BigFloat value,
int order,
AccuracyGoal accuracyGoal,
RoundingMode roundingMode
)Parameters
- value BigFloat
- A BigFloat value.
- order Int32
- The order of the root.
- accuracyGoal AccuracyGoal
- An AccuracyGoal value that specifies the desired accuracy of the result.
- roundingMode RoundingMode
- A RoundingMode value that specifies how the result should be rounded.
Return Value
BigFloatThe root of order order of value with an accuracy within accuracyGoal.
Exceptions
| Argument | value is null. |