Gets the specified column as a strongly typed vector.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public Vector<T> GetColumn<T>(
C key
)
Public Function GetColumn(Of T) (
key As C
) As Vector(Of T)
public:
generic<typename T>
Vector<T>^ GetColumn(
C key
)
member GetColumn :
key : 'C -> Vector<'T>
Parameters
- key
- Type: C
The key of the column.
Type Parameters
- T
- The element type of the returned vector.
Return Value
Type:
VectorTA vector with elements of type
T.
Exception | Condition |
---|
KeyNotFoundException | The column could not be retrieved because no column
with the specified key could be found. |
InvalidCastException | The element type of the column cannot be converted to type
T. |
Reference