IndexValuePair<T> Structure

Represents the value of a component at a specified position in a vector.

Definition

Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
[SerializableAttribute]
public struct IndexValuePair<T>
Inheritance
Object  →  ValueType  →  IndexValuePair<T>

Type Parameters

T

Remarks

Use the IndexValuePair<T> type as the element type when enumerating the components of a Vector. The collections returned by NonzeroElements have elements of this type.

Properties

Index The index of the component.
Value The value of the component.

Methods

EqualsIndicates whether this instance and a specified object are equal.
(Inherited from ValueType)
GetHashCodeReturns the hash code for this instance.
(Inherited from ValueType)
GetTypeGets the Type of the current instance.
(Inherited from Object)
ToStringReturns the fully qualified type name of this instance.
(Inherited from ValueType)

See Also