Returns a vector containing the items nearest to the specified key values.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public Vector<T> GetNearestValues<K>(
IEnumerable<K> keys,
Direction direction
)
Public Function GetNearestValues(Of K) (
keys As IEnumerable(Of K),
direction As Direction
) As Vector(Of T)
public:
generic<typename K>
Vector<T>^ GetNearestValues(
IEnumerable<K>^ keys,
Direction direction
)
member GetNearestValues :
keys : IEnumerable<'K> *
direction : Direction -> Vector<'T>
Parameters
- keys
- Type: System.Collections.GenericIEnumerableK
A sequence of keys. - direction
- Type: Extreme.DataAnalysisDirection
The direction to search for the keys.
Type Parameters
- K
- The type of the keys.
Return Value
Type:
VectorTA vector containing the items at the specified
keys.
Reference