Vector<T>.Get Value<K>(K) Method
Gets the value at the specified key.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
The value of the element with key key, or missing if the key could not be found.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public T GetValue<K>(
K key
)
Parameters
- key K
- The key value.
Type Parameters
- K
- The type of the key.
Return Value
TThe value of the element with key key, or missing if the key could not be found.
Exceptions
Invalid | The vector is not indexed. |
Invalid | The type K does not match the element type of the index. |