Vector<T>.Get Nearest Values<K> Method
Returns a vector containing the items nearest to the specified key values.
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
A vector containing the items at the specified keys.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
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.