Commit 9380656
Add
* Add `multiset_permutations` method that doesn't require length
in analogy to the same case for regular `permuations`
* Add test
* Update src/permutations.jl
Co-authored-by: Thomas Christensen <tchr@mit.edu>
* Update test/permutations.jl
* Update src/permutations.jl
Co-authored-by: Chengyu Han <cyhan.dev@outlook.com>
---------
Co-authored-by: Thomas Christensen <tchr@mit.edu>
Co-authored-by: Chengyu Han <cyhan.dev@outlook.com>multiset_permutations method that doesn't require length (#164)1 parent bbd5b1b commit 9380656
2 files changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
214 | 222 | | |
215 | 223 | | |
216 | 224 | | |
217 | | - | |
| 225 | + | |
218 | 226 | | |
219 | 227 | | |
220 | 228 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
62 | 64 | | |
63 | 65 | | |
64 | 66 | | |
| |||
0 commit comments