Protects the vector from changes in values or structure.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public Vector<T> MakeImmutable()
Public Function MakeImmutable As Vector(Of T)
public:
Vector<T>^ MakeImmutable()
member MakeImmutable : unit -> Vector<'T>
Return Value
Type:
VectorTA reference to this instance.
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.
Reference