Copies the elements of this vector
to an untyped vector.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public Vector<T> CopyTo(
IVector destination
)
Public Function CopyTo (
destination As IVector
) As Vector(Of T)
public:
Vector<T>^ CopyTo(
IVector^ destination
)
member CopyTo :
destination : IVector -> Vector<'T>
Parameters
- destination
- Type: Extreme.MathematicsIVector
A vector whose
elements are to be set.
Return Value
Type:
VectorTA reference to the destination vector.
Exception | Condition |
---|
ArgumentException |
The length of destination is less than the length of this instance.
|
InvalidCastException | The element type of destination
does not equal the element type of the vector. |
The element type of the destination vector must be the same as
the element type of the source vector.
Reference