Commit Graph

713 Commits

Author SHA1 Message Date
Bertrand Benjamin d14850c78d Rearrange folders and use tree2txt inside MO 2018-03-10 08:44:01 +03:00
Bertrand Benjamin d498af2bab tree2txt is done and doctested 2018-03-10 08:03:55 +03:00
Bertrand Benjamin a51386fded Throw bases for tree2txt 2018-03-09 19:33:02 +03:00
Bertrand Benjamin a8a62864a6 Integrate MO inside str2 and in Tree (doctest are ok) 2018-03-09 19:31:46 +03:00
Bertrand Benjamin 1ab74eb133 Start writing MOs 2018-03-08 17:01:47 +03:00
Bertrand Benjamin 313e3a4efc - is now a unary operator 2018-03-07 16:26:06 +03:00
Bertrand Benjamin 6aec4be490 spell and empty line 2018-02-02 18:37:24 +03:00
Bertrand Benjamin 5123dc0f8a add a doctest for Tree 2018-02-02 18:33:08 +03:00
Bertrand Benjamin 451dce91e5 Accept missing * for str parsing 2018-02-02 18:32:16 +03:00
Bertrand Benjamin 91bd108b53 is_operator function 2018-02-02 18:02:42 +03:00
Bertrand Benjamin a0fa09a381 Balancing a AssocialTree 2018-01-31 17:18:52 +03:00
Bertrand Benjamin 935a0d0d23 Create AssocialTree and method to init tree from a node and a list of
leafs
2018-01-30 05:34:18 +03:00
Bertrand Benjamin 8b201fa8d0 Throw basis of LeafTree 2018-01-29 07:51:54 +03:00
Bertrand Benjamin 72864f12cd Add depth for tree 2018-01-28 19:13:55 +03:00
Bertrand Benjamin a916035260 Number are now int or Decimal when an expression is parsed 2018-01-28 18:54:30 +03:00
Bertrand Benjamin 251ec6c83b Change from_str method name for muttable tree 2018-01-28 18:31:21 +03:00
Bertrand Benjamin 876a1fc63c get leafs or operator methodes for tree 2018-01-28 18:13:37 +03:00
Bertrand Benjamin 1176b6f608 Basic evaluation for trees 2018-01-21 18:16:08 +03:00
Bertrand Benjamin 7d00d3342a allowing empty left leaf for operator of 1 arity 2018-01-21 17:05:54 +03:00
Bertrand Benjamin b885bb6b8f Start expression API 2018-01-21 12:21:13 +03:00
Bertrand Benjamin 273675b243 Doc string and method name 2018-01-21 12:14:16 +03:00
Bertrand Benjamin 0f3e0870fe apply_on_last_branches is ok 2018-01-21 12:10:45 +03:00
Bertrand Benjamin e64613f5be map_leaf method for tree 2018-01-21 11:52:22 +03:00
Bertrand Benjamin 813c1f096e Remove old files and fix class name in doctest 2018-01-21 11:32:17 +03:00
Bertrand Benjamin 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