Vector<T>.Copy To(Vector<T>, Int 32) Method
Copies the elements of this vector
to another vector starting at the specified position.
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 virtual Vector<T> CopyTo(
Vector<T> destination,
int index
)
Parameters
- destination Vector<T>
- A vector whose elements are to be set.
- index Int32
- The index in destination where copying is to start.
Return Value
Vector<T>A reference to the destination vector.
Exceptions
Argument | destination is null |
Argument | index is less than zero. |
Argument | The length of destination is less than index plus the length of this instance. |