Sets the vector element at the specified position to the specified value.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public abstract void SetValue(
T value,
int index
)
Public MustOverride Sub SetValue (
value As T,
index As Integer
)
public:
virtual void SetValue(
T value,
int index
) abstract
abstract SetValue :
value : 'T *
index : int -> unit
Parameters
- value
- Type: T
The new value of the element. - index
- Type: SystemInt32
The zero-based index of the element.
Return Value
Type:
The element of the
VectorT in the
indexth position.
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.
Reference