Vector<T>.Copy To Or Clone Method
Copies the elements of this vector to another vector, if it exists;
otherwise clones the vector using the specified method.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A reference to the destination vector.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public Vector<T> CopyToOrClone(
Vector<T> destination,
CloningMethod method
)
Parameters
- destination Vector<T>
- A vector whose elements are to be set.
- method CloningMethod
- A CloningMethod that specifies how the vector should be cloned if destination is null.
Return Value
Vector<T>A reference to the destination vector.
Exceptions
Argument | The length of destination is less than the length of this instance. |