Index<T>.JoinNearest Method

Returns the index that results from joining each key in an index to the nearest key in this index.

Definition

Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public Index<T> JoinNearest(
	Index<T> right,
	Direction direction,
	out int[] rightIndexes
)

Parameters

right  Index<T>
The second index.
direction  Direction
The direction to look for the key if an exact match is not found.
rightIndexes  Int32[]
On return, an array of indexes of the elements of right in the new index.

Return Value

Index<T>
The joined index.

See Also