Gets the value with the specified key.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public T Get<R, C>(
R rowKey,
C columnKey
)
Public Function Get(Of R, C) (
rowKey As R,
columnKey As C
) As T
public:
generic<typename R, typename C>
T Get(
R rowKey,
C columnKey
)
member Get :
rowKey : 'R *
columnKey : 'C -> 'T
Parameters
- rowKey
- Type: R
The key of the row to look up. - columnKey
- Type: C
The key of the column to look up.
Type Parameters
- R
- The element type of the row index of the matrix.
- C
- The element type of the column index of the matrix.
Return Value
Type:
TThe value with row key
rowKey
and column key
columnKey.
Exception | Condition |
---|
InvalidOperationException | The matrix does not have a row or column index. |
InvalidCastException | The element type of the row index of the matrix is not R. -or- The element type of the column index of the matrix is not C. |
KeyNotFoundException | rowKey was not found in the row index. -or- columnKey was not found in the column index. |
Reference