Vector<T>.Protect In Place Method
Protects the vector from changes in values or structure.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
A reference to this instance.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
public Vector<T> ProtectInPlace(
ArrayMutability mutability = ArrayMutability.Immutable
)
Parameters
- mutability ArrayMutability (Optional)
Return Value
Vector<T>A reference to this instance.
Remarks
If the vector is read-only, this method has no effect.