Commit Graph

547 Commits

Author SHA1 Message Date
876a1fc63c get leafs or operator methodes for tree 2018-01-28 18:13:37 +03:00
1176b6f608 Basic evaluation for trees 2018-01-21 18:16:08 +03:00
7d00d3342a allowing empty left leaf for operator of 1 arity 2018-01-21 17:05:54 +03:00
b885bb6b8f Start expression API 2018-01-21 12:21:13 +03:00
273675b243 Doc string and method name 2018-01-21 12:14:16 +03:00
0f3e0870fe apply_on_last_branches is ok 2018-01-21 12:10:45 +03:00
e64613f5be map_leaf method for tree 2018-01-21 11:52:22 +03:00
813c1f096e Remove old files and fix class name in doctest 2018-01-21 11:32:17 +03:00
a751e346d3 Import work from other repo 2018-01-21 11:26:34 +03:00
Benjamin Bertrand
500426bf82 Change names and pass tests 2017-04-17 16:48:52 +03:00
Benjamin Bertrand
30a6402e40 PEP 2017-04-16 11:27:06 +03:00
Benjamin Bertrand
d73d759d71 mod rsync_upload for Embrevade 2016-08-18 09:44:07 +03:00
Benjamin Bertrand
b4d79fd398 Formating in README 2016-08-17 14:53:17 +03:00
Benjamin Bertrand
785ce0aa82 Same 2016-08-17 14:50:27 +03:00
Benjamin Bertrand
0b97ded955 format in README 2016-08-17 14:46:18 +03:00
Benjamin Bertrand
a45d165992 convert README from rst to md 2016-08-17 14:43:31 +03:00
Benjamin Bertrand
58f447b3b2 remove repetition in equation solving 2016-03-26 05:38:21 +03:00
Benjamin Bertrand
0b3d162a8e add new setting for no_repetition decorator 2016-03-26 05:37:51 +03:00
Benjamin Bertrand
704d945bba solve mistake in doctest 2016-03-26 05:37:17 +03:00
Benjamin Bertrand
f985aa8a2f change default value for random for equation 2016-03-26 05:15:22 +03:00
Benjamin Bertrand
b38df0f5d3 fix import and bug but div for absPoly 2016-03-26 05:14:22 +03:00
Benjamin Bertrand
cff75c1fec solve eq if know ok 2016-03-22 11:48:29 +03:00
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