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