Vector<T>.Make Immutable Method
Protects the vector from changes in values or structure.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A reference to this instance.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public Vector<T> MakeImmutable()
Return Value
Vector<T>A reference to this instance.
Remarks
If the vector's storage is shared with other arrays that are mutable, the data will be cloned to ensure values can't change by changing values in those arrays. If the vector is already read-only, this method has no effect.