Skip to content

Conversation

@GiBg1aN
Copy link

@GiBg1aN GiBg1aN commented Apr 28, 2025

Hello, thank you for your clean and concise implementation of kd-trees which does not rely on bigger libraries.

Sometimes when querying trees it might be useful to retrieve both indices and distances of points like SciPy does.

I added a new API to your implementation starting from your code, but you could also return both a standard, without adding a new primitive (even though this may break compatibility).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant