Commit Graph

323 Commits

Author SHA1 Message Date
Benjamin Bertrand
b6da1e24a1 dd docstring for explain for Explicable 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
ee03acf9fb this_append_before for Expression 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
619e809c6b this_append_before for Fraction 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
1ecdb458ae this_append_before for explicable ans abstract_polynom 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
5d4fe72764 code display in fraction.py 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
7f5b9059b1 Refactor str2in_tokens use op.available_op from Operator_set 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
c81776e037 Solve bug with parenthesis and ^ 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
e0fb4da8ef solve final bug! :DDD 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
1b2d778ff6 pass doctest for abstract_polynom expression fraction generic and
polynom
2016-03-22 08:39:20 +03:00
Benjamin Bertrand
c2cdbea001 Pass tests for polynoms 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
3530660c0b add try in __eq__ for operator 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
26e12370b8 pass expression and str2tokens tests 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
3ae3d9fb2d Add and clear test for Operator and operator_set 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
5002fbe4ae Doctest for operator_set 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
1e3e0418df move test into class those tests are passed 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
8ed382bbe2 refactoring op but tests are not passed yet 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
fa393ef65e daft for geometry 2016-02-16 19:01:23 +03:00
Benjamin Bertrand
821810ca47 no more float ready for decimal! 2016-02-15 15:20:24 +03:00
Benjamin Bertrand
ab8b80758c all test passed! 2016-02-14 21:00:16 +03:00
Benjamin Bertrand
deb5be0955 Create pstf_factory and fix unittest! :D:D 2016-02-14 21:00:16 +03:00
Benjamin Bertrand
c6ee2f2140 move postfix_op (or corr) and remove unneeded 1 in fractions 2016-02-14 21:00:16 +03:00
Benjamin Bertrand
29a25203c2 rewrite fraction and simplify op steps 2016-02-14 21:00:16 +03:00
Benjamin Bertrand
bfafaac319 rewrite expression.simplify and adapt Fraction to it 2016-02-14 21:00:16 +03:00
Benjamin Bertrand
f968a25345 adapt test to float number in render and str2tokens 2016-02-14 21:00:16 +03:00
Benjamin Bertrand
b5d383a4be Parse float and create Explicable_float 2016-02-14 21:00:16 +03:00
Benjamin Bertrand
589e92a780 reorganise renders 2016-02-14 21:00:16 +03:00
Benjamin Bertrand
a5d84e89e3 cahnge Fake_int to Explicable_int 2016-02-14 21:00:16 +03:00
Benjamin Bertrand
47d43849d0 autopep8 on all files but operator.py 2016-02-14 21:00:16 +03:00
Benjamin Bertrand
e43544006e autopep8 on calculus test 2016-02-14 21:00:16 +03:00
Benjamin Bertrand
b260c838df remove trailing spaces 2016-02-13 06:48:23 +03:00
Benjamin Bertrand
52ff23a749 transform if to try/except in develop_steps 2016-02-09 10:14:54 +03:00
Benjamin Bertrand
ba579c9ab3 add missing step when multiply polynoms 2016-02-09 09:23:04 +03:00
Benjamin Bertrand
209e235a56 presentations 2016-01-17 18:07:05 +03:00
Benjamin Bertrand
89b81f97c8 Add test for random_expression and underscore 2016-01-17 18:06:42 +03:00
Benjamin Bertrand
1404c6fa35 Remove unittest module in test_random_expression 2016-01-17 18:03:04 +03:00
Benjamin Bertrand
2b98d0e364 Allow _ for generating expressions 2016-01-17 17:51:12 +03:00
Benjamin Bertrand
2cb909e31e remove "exemple" in docstring 2016-01-12 11:29:14 +03:00
Benjamin Bertrand
96f3a2a3d0 Add choice in allowed distrib 2016-01-12 11:14:44 +03:00
Benjamin Bertrand
397f67db05 allow import of txt and add todo on database 2016-01-12 09:51:31 +03:00
Benjamin Bertrand
fef1b08e9e move random_generator for his own file 2016-01-09 18:51:20 +03:00
Benjamin Bertrand
e1cb61a1a2 decorator to control returned values 2016-01-09 18:40:02 +03:00
Benjamin Bertrand
f7b31425e2 random generation for Dataset 2016-01-09 18:14:18 +03:00
Benjamin Bertrand
0180f5a37f remove center and clean tabular_latex for Dataset 2016-01-09 13:20:20 +03:00
Benjamin Bertrand
03e304ac43 tabular_latex for WeightedDataset 2016-01-09 13:19:44 +03:00
Benjamin Bertrand
4153f97679 WeightedDataset have been created 2016-01-09 12:34:46 +03:00
Benjamin Bertrand
1c52a26328 Corr quartiles computation 2016-01-09 12:22:32 +03:00
Benjamin Bertrand
33f49edc6e Dataset heritate from list 2016-01-08 17:01:39 +03:00
Benjamin Bertrand
79f2fa3c9e Start working on dataset for Stat 2016-01-08 16:58:21 +03:00
Benjamin Bertrand
551edae8bd clean import for calculus 2016-01-07 20:00:50 +03:00
Benjamin Bertrand
2c240eabb1 move tests 2016-01-07 19:56:30 +03:00
Benjamin Bertrand
881de6dcb1 start to reorganise files 2016-01-07 19:34:23 +03:00
lafrite
a0cf4c1f67 solve bug#4 can create fraction of fractions 2015-06-22 09:13:07 +02:00
lafrite
ab0862e10a solve bug with some poly evaluation!! 2015-06-21 20:43:38 +02:00
lafrite
3252716cfa Merge remote-tracking branch 'origin/dev' into dev 2015-06-19 14:26:37 +02:00
Lafrite
bc4bb91555 Solve bug with simplify and postfix string 2015-06-19 11:01:13 +02:00
lafrite
7fa01e17b0 change in docstring 2015-06-17 15:13:33 +02:00
Lafrite
7648460022 report a bug 2015-05-23 08:06:57 +02:00
Lafrite
57bc2355aa add $$ around root in tbl_sgn_header 2015-05-22 15:44:43 +02:00
lafrite
d2dffa8ff7 solve a bug with par and ^ 2015-05-20 18:49:51 +02:00
lafrite
fc4d8d19f3 allow to user "+" and other operation in Expression initialisation 2015-05-19 16:06:03 +02:00
Lafrite
1352f90f7d remove solve todo 2015-04-27 19:35:31 +02:00
Lafrite
9dd42d2151 raise exception if fraction can't be build 2015-04-27 19:24:20 +02:00
Lafrite
fcee4a8942 solve parenthesis bug for op.pw 2015-04-27 19:16:08 +02:00
Lafrite
0545d73751 solve left parenthesis issue 2015-04-27 19:09:03 +02:00
Lafrite
52eff1863b add easy Fraction import 2015-04-23 15:58:13 +02:00
Lafrite
3ec1ed819a easier import 2015-04-23 15:56:08 +02:00
Lafrite
0b89bb1bbf forgot to save... 2015-04-23 15:56:08 +02:00
Lafrite
3664a2e135 implement Fake_int to solve bug with explain 2015-04-23 15:56:08 +02:00
Lafrite
64d5bed8fe All tests pass :D 2015-04-23 15:56:08 +02:00
Lafrite
7987f3f1be add debug tool 2015-04-23 15:56:08 +02:00
Lafrite
00c327a52f solve bug with double simplifyon beta 2015-04-23 15:56:08 +02:00
Lafrite
d95b520ba0 I feel like I have solve the bug! Need to adapt doctest and tests now 2015-04-23 15:56:08 +02:00
Lafrite
9d7f43bb20 try to find the bug... 2015-04-23 15:56:08 +02:00
Lafrite
a543602d26 remove space in new_s==old_s if they are sting for explicable 2015-04-23 15:56:08 +02:00
Lafrite
f5df2b6e9d use sympy to compute root of polynomDeg2 2015-04-23 15:56:08 +02:00
Lafrite
8ffdfbdcaf lastbug with facto? 2015-04-23 15:56:08 +02:00
Lafrite
983bc0fdc2 solve bugs with poly_facto still one! 2015-04-23 15:56:08 +02:00
Lafrite
df305d0e0d Polynom factory to produce Deg 2 poly! 2015-04-23 15:56:08 +02:00
Lafrite
b4064dff00 split polynom with abstract_polynom 2015-04-23 15:56:08 +02:00
Lafrite
4a8f9daf14 corr bug with reduce in polynom 2015-04-23 15:56:08 +02:00
Lafrite
c4cb2fb859 Add a todo 2015-04-23 15:56:08 +02:00
Lafrite
531f88d1d1 remove commented test 2015-04-23 15:56:08 +02:00
Lafrite
b1c3c3564e finaly finish to implement simplify and explain 2015-04-23 15:56:08 +02:00
Lafrite
437066e8e6 remove some commented lines 2015-04-23 15:56:08 +02:00
Lafrite
a2041fd451 solve issue with explain and wrong steps 2015-04-23 15:56:08 +02:00
Lafrite
509fd6e409 add some test for operators 2015-04-23 15:56:08 +02:00
Lafrite
b0e506897a change op.add and op.sub for better - management 2015-04-23 15:56:07 +02:00
Lafrite
b508a8afb4 all tested are passed! :D 2015-03-10 14:04:04 +01:00
Lafrite
8b79fbbace solve issues with () for add and mul 2015-03-10 11:59:27 +01:00
Lafrite
097ad25fe2 solve bug with - and () 2015-03-08 23:56:59 +01:00
Lafrite
c391c8e084 Merge branch '2nd_deg' into operator 2015-03-08 23:48:40 +01:00
Lafrite
93a8c45c5b Merge branch 'dev' into operator 2015-03-08 23:44:55 +01:00
Lafrite
9a7f0da24e add ggive_name method to polynom 2015-03-08 23:40:15 +01:00
Lafrite
68f6cb32d4 Give a name to polynomDeg2 2015-03-08 19:05:15 +01:00
Lafrite
285b71d2da Merge branch 'dev' into 2nd_deg 2015-03-08 18:56:59 +01:00
Lafrite
9ddb015a87 Add a name to polynoms 2015-03-08 18:51:53 +01:00
Lafrite
d503db6cef add doctest and unittest for render 2015-03-07 20:04:16 +01:00
Lafrite
cdfd70d3f3 solve render bug with (..) - (..) to .. - (..) 2015-03-07 19:35:34 +01:00
Lafrite
c00c0a86cc add_parenthesis to l_parenthesis and r_parenthesis 2015-03-07 19:26:26 +01:00
Lafrite
e031f9b903 reset priorities 2015-03-07 18:23:10 +01:00