-
-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
unique
functions to algorithms.nim (#645)
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.
- Loading branch information
1 parent
05ae049
commit 1448698
Showing
2 changed files
with
98 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters