Commit Graph

575 Commits

Author SHA1 Message Date
Benjamin Bertrand
1b6bd56f8a solve equation ok (need to add more steps) 2016-03-22 11:33:45 +03:00
Benjamin Bertrand
05d7d43b39 add __truediv__ for AbstractPolynom 2016-03-22 11:21:39 +03:00
Benjamin Bertrand
f648e94a37 random generation for Equation 2016-03-22 10:42:00 +03:00
Benjamin Bertrand
ba324ec995 Create Equation and solutions methods 2016-03-22 10:34:26 +03:00
Benjamin Bertrand
6766ae0002 Add a docstest for this bug 2016-03-22 09:29:11 +03:00
Benjamin Bertrand
e0a160076c solve bug with not necessary 0 in poly add 2016-03-22 09:27:46 +03:00
Benjamin Bertrand
2abee1095a Replace is_same_step by __eq__ for Step 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
7feca92d77 move no_repetition in decorators
all test are passed
2016-03-22 08:39:20 +03:00
Benjamin Bertrand
f74f41c131 self.generator for explicable 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
6ca6cff6e2 import work from sqrt on smpl for absPoly and this_append_before 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
019b256d2f remove steal_history in init for Expression 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
bcd5643202 move __str__ from expression to renderable 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
6428ab2c9e replace_letter now steal the history of the letter. 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
e02687c91b replace letter in abstact_poly and minor change in polynom 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
b1c4860964 Solve bug with gcd and random_expression 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
9dd3f750b6 all test pass!
It was an issue with reduce and not 'y' poly
2016-03-22 08:39:20 +03:00
Benjamin Bertrand
f62f572fb3 2var poly ok for results but bad with explain 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
a564708a31 Abs_poly handle 2var poly. Need to adapt Poly know 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
3abd4e89b5 fix bug shows with render mass test 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
9a141ec2f7 avoid a sideeffect in r_parenthesis 2016-03-22 08:39:20 +03:00
Benjamin Bertrand
a0b014dd08 new clean postfix_tokens method for Abstact_Poly (still a bug with mass
test render)
2016-03-22 08:39:20 +03:00
Benjamin Bertrand
9529c32b50 steps for poly fixed! All test pass except one (need to fix) 2016-03-22 08:39:20 +03:00
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