Commit Graph

742 Commits

Author SHA1 Message Date
Lafrite
6509e0164a Add __eq__ in fraction 2014-02-21 18:02:34 +01:00
Lafrite
49b224bedc start unittest for expression and fraction 2014-02-21 11:09:12 +01:00
Lafrite
8e86220b50 add float method in fraction 2014-02-21 11:08:55 +01:00
Lafrite
1abd903c9b Add case when numerator is 0 2014-02-21 11:05:25 +01:00
Lafrite
6e1ca2eff8 Start unittest for generic 2014-02-21 09:45:45 +01:00
Lafrite
ab903c368e renders for packaging 2014-02-21 06:51:37 +01:00
Lafrite
77da30d0b7 add a test 2014-02-21 06:51:37 +01:00
lafrite
e669e9707d allow raw string generation 2014-02-21 06:51:37 +01:00
lafrite
698fea5c63 generate letters can't be equal to 0 2014-02-21 06:51:37 +01:00
lafrite
d566867ae8 not very good render especially with negativ numbers... but can work 2014-02-21 06:51:37 +01:00
lafrite
cb198eb5f0 improve printing ofr FormalExp 2014-02-21 06:51:36 +01:00
lafrite
eece262566 parsing and rendering "^" done.Computing with integer too 2014-02-21 06:51:36 +01:00
lafrite
5a8da2f470 modif for be able to use it for first big use 2014-02-21 06:50:34 +01:00
lafrite
9ec684477f Expression handle ":" but can't simplify with it yet 2014-02-21 06:48:15 +01:00
lafrite
5799d9a48d render accept ":" 2014-02-21 06:47:35 +01:00
lafrite
52ee73c340 Integrate exp and render into random_expression 2014-02-21 06:47:08 +01:00
lafrite
d74e18b663 Change ** to ^ and mod test in render 2014-02-21 06:43:57 +01:00
lafrite
9b104f020f formal multiplication done, need to simplify keys 2014-02-21 06:43:34 +01:00
lafrite
c5300991d5 Dictionary convolution 2014-02-21 06:39:54 +01:00
lafrite
2ffce67867 formal (which should be called polynom...) are ok.No mult yet 2014-02-21 06:37:22 +01:00
lafrite
b0a60f706b Render ~work with letters still some bugs 2014-02-21 06:34:17 +01:00
Lafrite
0c4306c058 New MANIFEST 2014-02-21 06:29:59 +01:00
Lafrite
915f92c710 Add dist in gitignore 2014-02-21 06:29:59 +01:00
Lafrite
4834186bec Packaging files 2014-02-21 06:29:58 +01:00
lafrite
33220c2a3c improve printing ofr FormalExp 2014-01-28 21:04:27 +01:00
lafrite
1e376787aa parsing and rendering "^" done.Computing with integer too 2014-01-28 20:52:38 +01:00
lafrite
3b2176fb5c test calculus in {} 2014-01-28 20:24:01 +01:00
lafrite
0655179928 modif for be able to use it for first big use 2014-01-19 21:39:35 +01:00
lafrite
8c424a94c9 test ":" in random_expression 2014-01-19 18:44:54 +01:00
lafrite
5e6cec5f58 change priority of "/" to have the priority over "*" and ":" 2014-01-19 18:44:16 +01:00
lafrite
852c67b22a add in todo 2014-01-19 18:40:00 +01:00
lafrite
c88569b347 Expression handle ":" but can't simplify with it yet 2014-01-19 18:38:15 +01:00
lafrite
a0dbef2946 render accept ":" 2014-01-19 18:35:07 +01:00
lafrite
bb12e67557 Integrate exp and render into random_expression 2014-01-18 19:25:10 +01:00
lafrite
047fb903e7 Change ** to ^ and mod test in render 2014-01-18 19:07:44 +01:00
lafrite
65ba8f3f04 formal multiplication done, need to simplify keys 2014-01-18 17:08:04 +01:00
lafrite
12b29be0d9 Dictionary convolution 2014-01-18 16:42:03 +01:00
lafrite
039f27c4fc formal (which should be called polynom...) are ok.No mult yet 2014-01-17 20:17:49 +01:00
lafrite
999fde1c51 Add -f for Fraction 2014-01-17 18:10:38 +01:00
lafrite
8a41031fa8 Render ~work with letters still some bugs 2014-01-17 14:57:45 +01:00
lafrite
65c05a35b5 Can make calculus in expression form 2014-01-17 12:49:24 +01:00
lafrite
9dfb1ed574 add case if there is no condition 2014-01-17 12:49:24 +01:00
lafrite
36bebd6c1a Add things in TODO 2014-01-17 12:49:24 +01:00
lafrite
582fc2850c import random expression generator 2014-01-17 12:49:24 +01:00
lafrite
1935a44715 clean directory 2014-01-17 12:49:24 +01:00
lafrite
fbb8951216 add a bug repport! 2014-01-17 12:49:24 +01:00
lafrite
856cf8a323 handle implied "*" 2014-01-17 12:49:24 +01:00
lafrite
95bc15b917 handle - at the beginig of expression and after "(" 2014-01-17 12:49:24 +01:00
lafrite
b52ec78d21 parsing expression is done! :D 2014-01-17 12:49:24 +01:00
lafrite
6e541144bb add TODOlist 2014-01-17 12:49:24 +01:00