Sets the vector component at the specified position to the specified value.
Namespace: Extreme.Mathematics.LinearAlgebraAssembly: Extreme.Numerics.Version4x.Net40 (in Extreme.Numerics.Version4x.Net40.dll) Version: 4.2.11333.0 (5.0.12317.0)
public override void SetValue(
float value,
int index
)
Public Overrides Sub SetValue (
value As Single,
index As Integer
)
public:
virtual void SetValue(
float value,
int index
) override
abstract SetValue :
value : float32 *
index : int -> unit
override SetValue :
value : float32 *
index : int -> unit
Parameters
- value
- Type: SystemSingle
A Single specifying the new value of the component. - index
- Type: SystemInt32
The zero-based index of the component.
Return Value
Type:
The component of the vector 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.
Numerical Libraries
Supported in: 5.x, 4.x
Reference