Represents the value of a component at a specified position in a vector.
Namespace:
Extreme.Mathematics.LinearAlgebra
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
[SerializableAttribute]
public struct IndexValuePair<T>
<SerializableAttribute>
Public Structure IndexValuePair(Of T)
[SerializableAttribute]
generic<typename T>
public value class IndexValuePair
[<SealedAttribute>]
[<SerializableAttribute>]
type IndexValuePair<'T> = struct end
Type Parameters
- T
The IndexValuePairT type exposes the following members.
| Name | Description |
---|
 | Index |
The index of the component.
|
 | Value |
The value of the component.
|
Top
| Name | Description |
---|
 | Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) |
 | GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) |
 | GetType | Gets the Type of the current instance. (Inherited from Object.) |
 | ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Top
Use the IndexValuePairT type as the element type when enumerating the
components of a Vector.
The collections returned by NonzeroElements
have elements of this type.
Reference