Commit Graph

653 Commits

Author SHA1 Message Date
Benjamin Bertrand
fba7f16762 Adapt Fraction to steps 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
c314b55376 Step init from a Renderable. Step in Expression 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
9a11549cc1 Import Step in smpl_abspoly refact 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
219037e87a introduce Step remove pstf_factory in Expression 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
79104522ac Move Renderable to own file 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
20cae3e0a5 adapt abstract_polynom to new init 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
19069a41f7 new init for Expression 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
f5c64ce9e4 New init for fraction 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
e34215a9a9 new initiat for Renderable and Explicable - need to fix other 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
351a9002be steal_history in explicable 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
7f891956fc New representation for objects 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
04099040d4 __repr__ for *Polynom 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
976cbbdf03 Merge_history (from Explicable) and develop_steps (from Expression)
work together
2016-03-22 08:39:20 +03:00
Benjamin Bertrand
bfef87424d change the goal of merge_history 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
d1f074e8df allow no Explicable in merge_history and improve doctest 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
20d1ad8528 develop_steps become classmethod 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
142eaa9c32 solve unittest bugs and undetected develop_steps bug 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
190b247fe4 Explain now explain thing only once 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
b4df404cbd docstring mod 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
29d0234050 Create merge_history method for Explicable 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
b241142976 finish corr flake8 in calculus 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
edd83fe56a flake8 corr (not finish yet) 2016-03-22 08:39:20 +03:00
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
0b04f1eb48 slitely update TODO and bugs 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
97d18be64b remark code graph 2016-02-14 21:00:16 +03:00
Benjamin Bertrand
589e92a780 reorganise renders 2016-02-14 21:00:16 +03:00