Matrix<T>.GetValue<R, C>(R, C) Method

This API is preliminary and subject to change.
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#
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

T
The value of the element at row rowKey and column columnKey, or missing if either key could not be found.

Exceptions

InvalidOperationException

The vector is not indexed.

InvalidCastException

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.

See Also