Returns the index that results from joining each key in an index to
the nearest key in this index.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public Index<T> JoinNearest(
Index<T> right,
Direction direction,
out int[] rightIndexes
)
Public Function JoinNearest (
right As Index(Of T),
direction As Direction,
<OutAttribute> ByRef rightIndexes As Integer()
) As Index(Of T)
public:
Index<T>^ JoinNearest(
Index<T>^ right,
Direction direction,
[OutAttribute] array<int>^% rightIndexes
)
member JoinNearest :
right : Index<'T> *
direction : Direction *
rightIndexes : int[] byref -> Index<'T>
Parameters
- right
- Type: Extreme.DataAnalysisIndexT
The second index. - direction
- Type: Extreme.DataAnalysisDirection
The direction to look for the key if an exact match is not found. - rightIndexes
- Type: SystemInt32
On return, an array of indexes
of the elements of right in the new index.
Return Value
Type:
IndexTThe joined index.
Reference