Vector<T>.Get<K1, K2>(K1, K2) Method

Gets the value at the specified key.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public T Get<K1, K2>(
	K1 key1,
	K2 key2
)

Parameters

key1  K1
The first level value of the key to look up.
key2  K2
The second level value of the key to look up.

Type Parameters

K1
The element type of the first level of the vector's index.
K2
The element type of the second level of the vector's index.

Return Value

T
The value with key key1, key2.

Exceptions

InvalidOperationException

The vector does not have an index.

InvalidCastException

The element type of the vector's index is not K1, K2.

KeyNotFoundException

The pair key1, key2 was not found in the vector's index.

See Also