Vector<T>.GetNearestValues<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#
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.

See Also