IGroupOperations<T> Interface

Note: This API is now obsolete.
Represents the contract for operations on a type that supports addition and subtraction.

Definition

Namespace: Numerics.NET.Generic
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
[ObsoleteAttribute("Use IOperations<T> instead.")]
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.

See Also