IIndex.Join With Nearest Method
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.
Definition
Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
The joined index.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
IIndex JoinWithNearest(
IIndex right,
JoinType joinType,
Direction direction,
out int[] leftIndexes,
out int[] rightIndexes
)
Parameters
- right IIndex
- The second index.
- joinType JoinType
- The type of join.
- direction Direction
- The direction to look for the key if an exact match is not found.
- leftIndexes Int32[]
- An array of indexes of the elements of the current index in the new index.
- rightIndexes Int32[]
- An array of indexes of the elements of right in the new index.
Return Value
IIndexThe joined index.
Remarks
Only left and right joins are supported. If multiple values keys map to the same key, only one of them is retained.