Constant Vector<T>.Set Value Method
Definition
Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Set | Sets all the elements of the vector to the specified value. |
Set | Sets the vector element at the specified position to the specified value. |
Set |
Sets the value at the specified key value.
Preliminary |
SetValue(T, Int32)
Sets the vector element at the specified position to the specified value.
public override void SetValue(
T value,
int index
)
Parameters
- value T
- A T specifying the new value of the component.
- index Int32
- The zero-based index of the component.
Return Value
The component 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.
Exceptions
Component | An attempt is made to modify a component of a ConstantVector<T>. |