Commit 6ce5fea
Add Polynomials (DS) + Unit tests, and Cycle Index Polynomial for Symmetry Groups (Algorithm) (keon#741)
* Put proper parenthesis for expected output.
* Add the Monomial and Polynomial Data Structure for symbolic computation.
* Add an algorithm to generate the cycle index polynomial for Symmetry Group on n symbols.
* Add multiple Unit Tests for every Polynomial and Monomial operation.
* Revert the parenthesis change because it didn't add much value.
* Fix typo that introduced a Syntax Error.
* Remove future annotations because of incompatibility of postponed evaluation of annotations in Python <= 3.6.
* Add record for Polynomial and symmetry group index. Rearrange records to be alphabetical.
Co-authored-by: aalekhpatel07 <aalekh.gwpeck.7998@gmail.com>1 parent 8ebe8b5 commit 6ce5fea
File tree
6 files changed
+1088
-9
lines changed- algorithms/maths
- tests
6 files changed
+1088
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | | - | |
202 | 201 | | |
203 | 202 | | |
204 | 203 | | |
205 | 204 | | |
| 205 | + | |
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| 209 | + | |
| 210 | + | |
209 | 211 | | |
210 | 212 | | |
| 213 | + | |
211 | 214 | | |
212 | | - | |
213 | 215 | | |
| 216 | + | |
214 | 217 | | |
215 | 218 | | |
216 | 219 | | |
217 | 220 | | |
218 | 221 | | |
| 222 | + | |
| 223 | + | |
219 | 224 | | |
220 | 225 | | |
221 | 226 | | |
222 | 227 | | |
| 228 | + | |
223 | 229 | | |
224 | 230 | | |
225 | 231 | | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
| 232 | + | |
231 | 233 | | |
232 | 234 | | |
233 | 235 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
0 commit comments