Math<T>.Pow Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
Overload List
Pow( | Returns a number raised to the specified power. |
Pow( | Raises a value to the specified power.. |
Pow(T, T)
Returns a number raised to the specified power.
Pow(T, Int32)
Raises a value to the specified power..
public static T Pow(
T value,
int exponent
)
Parameters
Return Value
TThe value value raised to the power exponent.
Remarks
A NotSupportedException should be thrown if exponent is negative and the operand type does not support division.