Gets the row at the specified row index as a vector of the specified type.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public Vector<T> GetNearestRowAs<T>(
R key,
Direction direction
)
Public Function GetNearestRowAs(Of T) (
key As R,
direction As Direction
) As Vector(Of T)
public:
generic<typename T>
Vector<T>^ GetNearestRowAs(
R key,
Direction direction
)
member GetNearestRowAs :
key : 'R *
direction : Direction -> Vector<'T>
Parameters
- key
- Type: R
The key of the row to be returned. - direction
- Type: Extreme.DataAnalysisDirection
The direction to look for the key if an exact match is not found.
Type Parameters
- T
- The desired element type of the row.
Return Value
Type:
VectorTThe row with key nearest to
key of the data frame
as a vector with element type
T.
Reference