Gets the row nearest to the specified row key.
Namespace: Extreme.Mathematics.GenericAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
public Vector<T> GetNearestRow<R>(
R key,
Direction direction
)
Public Function GetNearestRow(Of R) (
key As R,
direction As Direction
) As Vector(Of T)
public:
generic<typename R>
Vector<T>^ GetNearestRow(
R key,
Direction direction
)
member GetNearestRow :
key : 'R *
direction : Direction -> Vector<'T>
Parameters
- key
- Type: R
The key of the row to be returned. - direction
- Type: Extreme.CollectionsDirection
The direction to look for the key if an exact match is not found.
Type Parameters
- R
Return Value
Type:
VectorTThe row with key
key.
Numerical Libraries
Supported in: 5.x
Reference