IGroupOperations<T> Interface

Represents the contract for operations on a type that supports addition and subtraction.

Definition

Namespace: Extreme.Mathematics.Generic
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public interface IGroupOperations<T> : IComparer<T>, 
	IEqualityComparer<T>
Implements
IComparer<T>, IEqualityComparer<T>

Type Parameters

T
The type of the operands.

Properties

MaxValue Gets the largest possible value of the operand type.
MinValue Gets the smallest possible value of the operand type.
Zero Gets the value of zero for the operand type T.

Methods

Abs Returns the absolute value of a value.
Add Adds one value to another.
CompareCompares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.
(Inherited from IComparer<T>)
EqualsDetermines whether the specified objects are equal.
(Inherited from IEqualityComparer<T>)
GetHashCodeReturns a hash code for the specified object.
(Inherited from IEqualityComparer<T>)
Negate Negates a value.
Subtract Subtracts one value from another.

Extension Methods

Max<T> Returns the larger of two numbers.
(Defined by GenericExtensions)
Max<T> Returns the largest of three numbers.
(Defined by GenericExtensions)
Min<T> Returns the smaller of two numbers.
(Defined by GenericExtensions)
Min<T> Returns the smallest of three numbers.
(Defined by GenericExtensions)

See Also