IndexValuePair Structure |
Namespace: Novacta.Analytics
The IndexValuePair type exposes the following members.
Name | Description | |
---|---|---|
Index |
Gets the index in the index/value pair.
| |
Value |
Gets the value in the index/value pair.
|
Name | Description | |
---|---|---|
Equals(IndexValuePair) |
Indicates whether the current object is equal to another object of the same type.
| |
Equals(Object) | Indicates whether this instance and a specified object are equal. (Overrides ValueTypeEquals(Object).) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Returns the hash code for this instance. (Overrides ValueTypeGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Name | Description | |
---|---|---|
Equality |
Returns a value that indicates whether
an IndexValuePair instance is
equal to another IndexValuePair instance.
| |
Inequality |
Returns a value that indicates whether
an IndexValuePair instance is not
equal to another IndexValuePair instance.
|
An IndexValuePair structure groups a zero based index to a value. This is useful if the position of a particular value inside a given matrix has to be returned.
For example, method Max(DoubleMatrix) uses an IndexValuePair to return the maximum value and its (say, first) linear position in the specified data matrix, where matrix entries are interpreted as linearly ordered following a column major ordering.