Constructs a DoubleVector instance from the contents of the given array.
Namespace: CenterSpace.NMath.CoreAssembly: NMathPremium (in NMathPremium.dll) Version: 5.3.0.0
Syntax
| C# |
|---|
public DoubleVector( params double[] data ) |
| Visual Basic |
|---|
Public Sub New ( _ ParamArray data As Double() _ ) |
| Visual C++ |
|---|
public: DoubleVector( ... array<double>^ data ) |
Parameters
- data
- Type: array<System..::..Double>[]()[][]
An array of double-precision floating point numbers.
Remarks
Copies the data.
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::..NMathException | Thrown if passed invalid data. |