ConstantVector<T>.Clone Method

Definition

Namespace: Numerics.NET.LinearAlgebra
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0
Makes a copy of this Vector<T>.

Overload List

Clone() Makes a copy of this vector.
Clone(CloningMethod) Makes a copy of this Vector<T> using the specified method.

Clone(CloningMethod)

Makes a copy of this Vector<T> using the specified method.
C#
public override Vector<T> Clone(
	CloningMethod method
)

Parameters

method  CloningMethod
A CloningMethod value that specifies how the vector should be cloned.

Return Value

Vector<T>
The cloned Vector<T>.

Exceptions

ArgumentOutOfRangeException

method is not a valid CloningMethod value.

See Also