Generic Extensions.Sign<T> Method
Returns the sign of the specified number.
Definition
Namespace: Extreme.Mathematics.Generic
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static int Sign<T>(
IGroupOperations<T> ops,
T value
)
Parameters
- ops IGroupOperations<T>
- A IGroupOperations<T> instance that performs basic arithmetic operations.
- value T
- A value.
Type Parameters
- T