Copies the components of this GeneralVector
to another vector.
Namespace: Extreme.Mathematics.LinearAlgebra
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Overrides Sub CopyTo ( _ array As Double() _ ) |
| C# |
|---|
public override void CopyTo ( double[] array ) |
| C++ |
|---|
public: virtual void CopyTo ( array<double>^ array ) override |
Parameters
- array ()
- A Double array that is to hold the components of this GeneralVector.
Remarks
This method uses the level 1 BLAS routine DCOPY.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | vector is nullNothingnullptr |
| ArgumentException | The length of array is less than the length of this instance. |