forked fromkeon/algorithms
- Notifications
You must be signed in to change notification settings - Fork0
Commit55877e7
Add find order (keon#605)
* [Add] Find order algorithm and its supplemental* [Add] Find primitive root algorithm* [Edit] Add 'find_' in front of primitive root algorithm file* [Add/Fix] Supplemental & exception handling for the case n = 1* [Fix] Exception handling for the case a == n == 1 in findOrder function* [Delete] Left find_order algorithm only in this branch* [Add] Link to find_order algorithm in the README.md* [Add] Test cases for find_order_simple.py* [Edit] Modify pull request template* [Edit] Exclude mistyped one space in README.md* [Fix] Problems in test* [Edit] Function name in algorithm file and test file* [Edit] Function name in unittest file* [Edit] Function name in unittest file (2)* [Edit] Add module information into __init__.py* [Edit] Replace PULL_REQUEST_TEMPLATE.md file for resolving conflicts1 parent74566a3 commit55877e7
File tree
4 files changed
+44
-1
lines changed- algorithms/maths
- tests
4 files changed
+44
-1
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
215 | 215 |
| |
216 | 216 |
| |
217 | 217 |
| |
218 |
| - | |
| 218 | + | |
| 219 | + | |
219 | 220 |
| |
220 | 221 |
| |
221 | 222 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
| 18 | + | |
18 | 19 |
|
Lines changed: 27 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + |
Lines changed: 14 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
| 20 | + | |
20 | 21 |
| |
21 | 22 |
| |
22 | 23 |
| |
| |||
339 | 340 |
| |
340 | 341 |
| |
341 | 342 |
| |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
342 | 356 |
| |
343 | 357 |
| |
344 | 358 |
|
0 commit comments
Comments
(0)