Commit Graph

669 Commits

Author SHA1 Message Date
Bertrand Benjamin 9d5b441402 Doc(Compute/typing): Make ComputeError and TypingError more clear 2018-10-10 10:46:58 +02:00
Bertrand Benjamin d2f67a0961 Fix(Render): Ajust "*" visibility with variables 2018-10-10 10:40:40 +02:00
Bertrand Benjamin e6abc208a0 Feat(compute): Multiply strpower and str done
Discover bug with str and * printing
2018-10-10 10:28:38 +02:00
Bertrand Benjamin ddf15e4276 Feat(compute): Write powers of fraction 2018-10-10 10:13:58 +02:00
Bertrand Benjamin 78e781be62 Feat(compute): Start compute with power 2018-10-08 17:57:17 +02:00
Bertrand Benjamin 5e254a26eb Feat(Tree): Add organise for AssocialTree 2018-10-05 16:21:14 +02:00
Bertrand Benjamin 94c117151d Fix(Fraction): debug successive division (1 to MOnumber(1)) 2018-10-05 11:20:08 +02:00
Bertrand Benjamin 2489eccb74 Fix(parsing): Remove spaces in string before parsing 2018-10-05 10:31:51 +02:00
Bertrand Benjamin 9e0a703e98 Feat(Tree): Add exclude_nodes in balance to trees 2018-10-05 08:52:04 +02:00
Bertrand Benjamin 948402755a Feat(Expression): Implement balance in expression 2018-10-04 08:16:59 +02:00
Bertrand Benjamin 89d7baaed2 Doc(Tree): Add solution to doctest in balance 2018-10-04 08:13:20 +02:00
Bertrand Benjamin 42dbfe9c86 Feat(Tree): Write balance Tree method 2018-10-04 08:11:08 +02:00
Bertrand Benjamin 4d75361c9d Feat(Tree): Deep and short branch property for trees 2018-10-01 17:36:12 +02:00
Bertrand Benjamin e9a865a14a Feat(API): use balance before computing to optimize calculus 2018-10-01 16:14:04 +02:00
Bertrand Benjamin 1266a2331b Fix(compute): clean typing multiply 2018-10-01 16:13:13 +02:00
Bertrand Benjamin b24069a72d Fix(compute): split multiply between compute and type 2018-10-01 11:55:35 +02:00
Bertrand Benjamin ddab3cebad Feat(tools): Make 2 methods to explain capacities of compute and typing 2018-10-01 08:54:15 +02:00
Bertrand Benjamin f3f93d31a7 Doc(typing): Add dynamic docstring to typing 2018-09-28 10:46:16 +02:00
Bertrand Benjamin 2bbcfaf482 Doc(Compute): Add dynamic table for sum up implemented operations 2018-09-28 10:43:12 +02:00
Bertrand Benjamin a557fa3981 Fix(steps): Typing steps are bypassed
Useless steps where complex objects were built are not shown. I create
a typing function which is called when compute raise
NotImplementedError.
2018-09-24 17:21:50 +02:00
Bertrand Benjamin 0e479323dd Test(core): Write doctest on computing with fractions 2018-09-24 15:47:47 +02:00
Bertrand Benjamin d09d8a3d98 Put example in API/__ini__ 2018-09-20 18:40:04 +02:00
Bertrand Benjamin 49a09fd52c Better printing of MOs in API 2018-09-20 18:38:49 +02:00
Bertrand Benjamin b63405592f doctests 2018-09-20 18:27:40 +02:00
Bertrand Benjamin a343d62078 Add example of trees for testing 2018-09-20 18:26:57 +02:00
Bertrand Benjamin 40cc8d00b6 basic simplify and explain methods for Expression 2018-09-17 18:18:29 +02:00
Bertrand Benjamin 5687ccb302 Start writing expression class 2018-09-17 16:29:00 +02:00
Bertrand Benjamin ec25cfab53 Add doctest 2018-09-17 16:27:20 +02:00
Bertrand Benjamin b1241e0844 documentate what we can do with core 2018-09-17 16:27:08 +02:00
Bertrand Benjamin 95739099c7 Add venv to .gitignore 2018-08-30 07:11:48 +02:00
Bertrand Benjamin f8e00a8638 Create MOstrPower and start adding it into multiply 2018-03-18 10:34:46 +03:00
Bertrand Benjamin 3b59e0ffb0 Generic function for MO: __eq__ and __hash__ 2018-03-18 10:34:15 +03:00
Bertrand Benjamin 3f3e52cdf8 Decorator for computing special cases 2018-03-17 11:55:32 +03:00
Bertrand Benjamin f4422c6d1a Use multipledispatch to define divide (plus dostring for add) 2018-03-17 10:38:59 +03:00
Bertrand Benjamin c08ea7b86a Use multipledispatch for multiply 2018-03-17 10:28:43 +03:00
Bertrand Benjamin f2fb80c55b Build minus with multipledispatcher 2018-03-17 10:15:46 +03:00
Bertrand Benjamin 9610ee1c7e Use multipledispatcher to define add for MO 2018-03-17 10:04:53 +03:00
Bertrand Benjamin 0cef131c41 Render momonial and multiply with scalar 2018-03-17 08:45:23 +03:00
Bertrand Benjamin b0ff919693 synthtize comparison for MOnumber 2018-03-15 16:38:25 +03:00
Bertrand Benjamin 64ee8981ee pytest config 2018-03-15 16:38:06 +03:00
Bertrand Benjamin 985032b1af type filter for operations 2018-03-15 16:37:48 +03:00
Bertrand Benjamin 6e2cc96781 Start MOMonomial class 2018-03-14 11:42:43 +03:00
Bertrand Benjamin 3aa7c92f54 Add doctest in MO.factory and an error message 2018-03-14 11:42:10 +03:00
Bertrand Benjamin 6763ae6074 Modify the way ^ is rendering 2018-03-14 11:40:57 +03:00
Bertrand Benjamin eff438b930 Move MOError to exceptions.py 2018-03-14 11:04:13 +03:00
Bertrand Benjamin d1c6e2d3da Overload operators for MOnumbers in order to use gcd 2018-03-13 18:57:38 +03:00
Bertrand Benjamin 3c133250ec Multiply and divide are ok for MOnumber and MOFraction 2018-03-13 17:12:41 +03:00
Bertrand Benjamin e4efa1028e Some PEP8 rectifications 2018-03-13 14:43:48 +03:00
Bertrand Benjamin e9046c49ff Rewrite compute and remove reference to computing in OPERATORS 2018-03-13 05:46:14 +03:00
Bertrand Benjamin 832946ed49 Remove reference to compute in Tree 2018-03-12 20:01:52 +03:00