Vector<T>.Get<K>(K) Method
Gets the value with the specified key.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
The value with key key.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public T Get<K>(
K key
)
Parameters
- key K
- The key to look up.
Type Parameters
- K
- The element type of the vector's index.
Return Value
TThe value with key key.
Exceptions
Invalid | The vector does not have an index. |
Invalid | The element type of the vector's index is not K. |
Key | key was not found in the vector's index. |