DistributedMatrix<T>.SetValue Method

Definition

Namespace: Extreme.Mathematics.Distributed
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

SetValue(T) Sets all elements of the matrix to the specified value.
SetValue(T, Int32, Int32) Sets the matrix element at the specified position to the specified value.
SetValue<R, C>(T, R, C) Sets the value at the specified row and column key value.
Preliminary

SetValue(T)

Sets all elements of the matrix to the specified value.
C#
public override Matrix<T> SetValue(
	T value
)

Parameters

value  T
The new value.

Return Value

Matrix<T>

SetValue(T, Int32, Int32)

Sets the matrix element at the specified position to the specified value.
C#
public override void SetValue(
	T value,
	int row,
	int column
)

Parameters

value  T
The new value of the element.
row  Int32
The zero-based row index of the element to get or set.
column  Int32
The zero-based column index of the element to get or set.

Remarks

The data is only updated locally.

See Also