Vector<T>.Get Nearest Values<K> Method
Returns a vector containing the items nearest to the specified key values.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
A vector containing the items at the specified keys.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public Vector<T> GetNearestValues<K>(
IEnumerable<K> keys,
Direction direction
)
Parameters
- keys IEnumerable<K>
- A sequence of keys.
- direction Direction
- The direction to search for the keys.
Type Parameters
- K
- The type of the keys.
Return Value
Vector<T>A vector containing the items at the specified keys.