Returns the index that is the result of applying the specified join
to this index and another index where lookups are to the nearest
key in the specified direction.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
IIndex JoinWithNearest(
IIndex right,
JoinType joinType,
Direction direction,
out int[] leftIndexes,
out int[] rightIndexes
)
Function JoinWithNearest (
right As IIndex,
joinType As JoinType,
direction As Direction,
<OutAttribute> ByRef leftIndexes As Integer(),
<OutAttribute> ByRef rightIndexes As Integer()
) As IIndex
IIndex^ JoinWithNearest(
IIndex^ right,
JoinType joinType,
Direction direction,
[OutAttribute] array<int>^% leftIndexes,
[OutAttribute] array<int>^% rightIndexes
)
abstract JoinWithNearest :
right : IIndex *
joinType : JoinType *
direction : Direction *
leftIndexes : int[] byref *
rightIndexes : int[] byref -> IIndex
Parameters
- right
- Type: Extreme.DataAnalysisIIndex
The second index. - joinType
- Type: Extreme.DataAnalysisJoinType
The type of join. - direction
- Type: Extreme.DataAnalysisDirection
The direction to look for the key if an exact match is not found. - leftIndexes
- Type: SystemInt32
An array of indexes of the elements of the current index
in the new index. - rightIndexes
- Type: SystemInt32
An array of indexes of the elements of right
in the new index.
Return Value
Type:
IIndexThe joined index.
Only left and right joins are supported.
If multiple values keys map to the same key, only one of them is retained.
Reference