Skip to content

Finish presorting and matching for raw array comparison #308

@Algomorph

Description

@Algomorph

Occasionally the user will need to:

  1. Compare all values of two arrays after they are sorted for each array in a particular order (presort)
  2. Compare all values of two arrays using approximate matching, e.g. match each value of array 1 with the first value found in array 2 within epsilon (note the difference between the two).

The implementation for (1) had already begun, but some thrust specifics escape me, thus the code is commented out for CUDA-to-CUDA comparison. The implementation for (2) can be gleaned from one of the tests in Test_RaycastingEngine, where the operation is performed by first sorting the values, then keeping a buffer of all encountered "unmatched" values from array1 and array2 and attempting to match them with each newly-encountered value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ease-of-maintenanceResolving this issue would significantly improve ease of maintenance and future development.enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions