Vector<T>.SetValue(T, Int32) Method

Sets the vector element at the specified position to the specified value.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public abstract void SetValue(
	T value,
	int index
)

Parameters

value  T
The new value of the element.
index  Int32
The zero-based index of the element.

Return Value

The element of the Vector<T> in the indexth position.

Remarks

This method does not perform bounds checking. It is provided for optimized access in situations where the argument is known to be within bounds. If the argument is outside its valid range, the result may be unpredictable.

See Also