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

This API is preliminary and subject to change.
Sets the value at the specified row and column key value.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public void SetValue<R, C>(
	T value,
	R rowKey,
	C columnKey
)

Parameters

value  T
The value to assign.
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.

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