Distributed Vector<T>.Copy To Method
Definition
Namespace: Extreme.Mathematics.Distributed
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Copy | Copies the elements of this vector to an array. |
Copy | Copies the elements of this vector to an untyped vector. |
Copy | Copies the elements of this vector to an array. |
Copy | Copies the elements of this vector to another vector. |
Copy | Copies the elements of this vector to another vector starting at the specified position. |
Copy | Copies the elements of this vector to an array. |
CopyTo(ArraySlice<T>)
Copies the elements of this vector
to an array.
public override void CopyTo(
ArraySlice<T> array
)
Parameters
- array ArraySlice<T>
- An array that is to hold the elements of this Vector<T>.
Exceptions
Argument | array is null |
Argument | The length of array is less than the length of this instance. |
CopyTo(Vector<T>, Int32)
Copies the elements of this vector
to another vector starting at the specified position.
public override 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. |