Vector<T>.ShallowCopy Method

Makes a shallow copy of this vector.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
public Vector<T> ShallowCopy()

Return Value

Vector<T>
A reference to the new Vector<T>.

Remarks

A shallow copy does not copy the elements of the vector into a new array. Use the Clone() method for this purpose.

See Also