![]() | FieldT Class |
Namespace: WhetStone.Fielding
public abstract class Field<T> : IComparer<T>, IEqualityComparer<T>, Field
The FieldT type exposes the following members.
Name | Description | |
---|---|---|
![]() | GenType |
The generation type for T.
|
![]() | Invertible |
Get whether every (non-zero) element in the field can be inverted.
|
![]() | Max |
The largest element the type can contain.
|
![]() | Min |
The smallest element the type can contain.
|
![]() | Negatable |
Get whether every element in the field can be negated.
|
![]() | negativeOne |
The negative identity of the type.
|
![]() | one |
The multiplicative identity of the type.
|
![]() | SubjectType |
Get the type the Field affects.
|
![]() | zero |
The additive identity of the type.
|
Name | Description | |
---|---|---|
![]() | Abs |
Returns the absolute value of an element.
|
![]() | Compare | Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other. |
![]() | Difference |
Get the difference between two elements.
|
![]() | Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Equals(T, T) | Determines whether the specified objects are equal. |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | fromFraction(Double) |
Returns an element from a double.
|
![]() | fromFraction(Int32, Int32) |
Returns an element from a fraction.
|
![]() | fromInt(Int32) |
Returns an element from an integer.
|
![]() | fromInt(UInt64) |
Returns an element from an integer.
|
![]() | Generate |
Generate an element of the type.
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetHashCode(T) | Returns a hash code for the specified object. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Invert |
Get the inverse of an object.
|
![]() | isNegative |
Get whether an element is negative.
|
![]() | isPositive |
Get whether an element is positive.
|
![]() | Log |
Get the logarithm of two elements.
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | Modulo |
Get the modulo of two elements.
|
![]() | Negate |
Get the negative of an object.
|
![]() | Parse |
Parse a string into an element.
|
![]() | Pow |
Get the power of two elements.
|
![]() | PowInt |
Returns an element raised to an integer power.
|
![]() | Product |
Get the product of two elements.
|
![]() | Quotient |
Get the quotient of two elements.
|
![]() | Sum |
Get the sum of two elements.
|
![]() | toDouble |
Attempts to convert an element to Double.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | ReverseT |
Get an IComparerT that is reverse of another.
(Defined by ReverseComparer.) |