IEuclidean Ring Operations<T> Interface
Represents the contract for operations on an operand type that supports division with remainder.
Definition
Namespace: Numerics.NET.Generic
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
[ObsoleteAttribute("Use IOperations<T> instead.")]
public interface IEuclideanRingOperations<T> : IRingOperations<T>,
IVectorSpaceOperations<T, T>, IGroupOperations<T>, IComparer<T>, IEqualityComparer<T>
- Implements
- IGroupOperations<T>, IRingOperations<T>, IVectorSpaceOperations<T, T>, IComparer<T>, IEqualityComparer<T>
Type Parameters
- T
- The type of the operands.
Remarks
The name Euclidean ring derives from the fact that division with remainder is the basis for the Euclidean algorithm to compute the greatest common divisor (GCD).
Properties
Max |
Gets the largest possible value of the operand type.
(Inherited from IGroupOperations<T>) |
Min |
Gets the smallest possible value of the operand type.
(Inherited from IGroupOperations<T>) |
One |
Gets the value of one for the operand type T.
(Inherited from IRingOperations<T>) |
Zero |
Gets the value of zero for the operand type T.
(Inherited from IGroupOperations<T>) |
Methods
Abs |
Returns the absolute value of a value.
(Inherited from IGroupOperations<T>) |
Add |
Adds one value to another.
(Inherited from IGroupOperations<T>) |
Compare | Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other. (Inherited from IComparer<T>) |
Divide | Returns the quotient and remainder when dividing one value by another. |
Equals | Determines whether the specified objects are equal. (Inherited from IEqualityComparer<T>) |
From |
Converts an integer to the operand type.
(Inherited from IRingOperations<T>) |
Get | Returns a hash code for the specified object. (Inherited from IEqualityComparer<T>) |
Integer | Divides a value by another and discards the remainder. |
Integer | Divides a value by another using the specified rounding mode and discards the remainder. |
Multiply |
Multiplies a vector by a scalar.
(Inherited from IVectorSpaceOperations<TScalar, TVector>) |
Negate |
Negates a value.
(Inherited from IGroupOperations<T>) |
Remainder | Returns the remainder when dividing one value by another. |
Scale |
Scales the specified number by the specified power of two.
(Inherited from IRingOperations<T>) |
Subtract |
Subtracts one value from another.
(Inherited from IGroupOperations<T>) |
ToInt32 |
Converts the operand type to an integer.
(Inherited from IRingOperations<T>) |