Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a unique function to algorithms.nim #645

Merged
merged 1 commit into from
Apr 17, 2024

Conversation

AngelEzquerra
Copy link
Contributor

This function is similar to but not as fully featured as numpy.unique. It is missing a way to count the number or returning the indexes of the unique elements. It can however optionally sort the output.

These functions are similar to but not as fully featured as `numpy.unique`.
They are missing a way to count the number or returning the indexes of the unique elements.
However, they make it possibel to (optionally) sort the output, or to use a more efficient algorithm if the input is already sorted.
@Vindaar
Copy link
Collaborator

Vindaar commented Apr 17, 2024

Nice!

@Vindaar Vindaar merged commit 1448698 into mratsim:master Apr 17, 2024
6 checks passed
@AngelEzquerra AngelEzquerra deleted the unique branch April 17, 2024 09:04
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.

2 participants