Constructs a DoubleVector instance whose values are derived from the
first column of each of the rows in the data row collection.
Namespace: CenterSpace.NMath.CoreAssembly: NMathPremium (in NMathPremium.dll) Version: 5.3.0.0
Syntax
| C# |
|---|
public DoubleVector( DataRowCollection rows ) |
| Visual Basic |
|---|
Public Sub New ( _ rows As DataRowCollection _ ) |
| Visual C++ |
|---|
public: DoubleVector( DataRowCollection^ rows ) |
Parameters
- rows
- Type: System.Data..::..DataRowCollection
A data row collection.
Remarks
All values must be able to be converted to a double through a cast.
Exceptions
| Exception | Condition |
|---|---|
| System..::..InvalidCastException | Thrown if the passed table has a value that cannot be cast to a double-precision number. |