ParameterVector<T>.UnsafeSetValue Method

Sets the vector element at the specified position without validating the coordinate or preparing the vector for writing.

Definition

Namespace: Numerics.NET.DataAnalysis
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
C#
protected override void UnsafeSetValue(
	Parameter<T> value,
	int index
)

Parameters

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

Remarks

The caller must establish coordinate validity and complete all required write preparation before calling this method. Incorrect use may bypass mutability or copy-on-write protection. Implementations remain responsible for preserving representation invariants.

See Also