Commit Graph

43 Commits

Author SHA1 Message Date
Bertrand Benjamin 09b04d2703 Style: apply black 2019-05-14 06:55:56 +02:00
Bertrand Benjamin ce10db7c32 Refact(Core): Move arithmetic to core from compute 2018-12-21 16:42:05 +01:00
Bertrand Benjamin 9a68b826a3 Feat(Core): Change default str function for MO 2018-12-21 12:20:13 +01:00
Bertrand Benjamin f51ffbbe8b Fix(Core): refact MO, clean import and fix renders
Split MO in 2 categories Atoms and Molecules
2018-12-21 11:26:37 +01:00
Bertrand Benjamin 80305671de Feat(Core): Compute with power 2018-12-19 14:17:43 +01:00
Bertrand Benjamin 2551037b65 Fix(Core): Tree.from_str allow - in front of parenthesis 2018-12-17 14:54:48 +01:00
Bertrand Benjamin 5cbefa3165 Fix(Core): Add mopoly * other and reorder monoms after * 2018-11-23 12:15:12 +01:00
Bertrand Benjamin 9e4edc09e3 Feat(Core): Multiply 2 MOpolynomial together 2018-11-23 11:59:07 +01:00
Bertrand Benjamin 55c0830671 Feat(Core): Compute with MOpolynomial with all but MOpolynomial 2018-11-23 11:53:37 +01:00
Bertrand Benjamin 2176cc65df Feat(Core): Multiply for monome is done 2018-11-23 11:24:33 +01:00
Bertrand Benjamin eae88d6c4c Fix(Compute/Typing): Add MOpolynomial to MOS list 2018-11-14 16:05:38 +01:00
Bertrand Benjamin 3a89bcd24f Doc(Compute): update compute capacities 2018-11-14 11:05:35 +01:00
Bertrand Benjamin c176bb7bc4 Feat(Typing): Write all str related typing functions 2018-11-14 10:04:27 +01:00
Bertrand Benjamin a79ffb0cf9 Feat(Compute): Compute with monomials is done 2018-11-14 09:00:19 +01:00
Bertrand Benjamin b23d83b9da Feat(Compute): Add polynoms with polynoms 2018-11-13 16:19:02 +01:00
Bertrand Benjamin 17153dd345 Feat(Compute): Add MOpolynomial with scalar 2018-11-13 14:42:40 +01:00
Bertrand Benjamin a32fd7cbc6 Feat(Compute): Compute MOstr and MOstrPower 2018-11-13 12:12:36 +01:00
Bertrand Benjamin abf056ce33 refactor(MO): Separate value and tree in MOs 2018-11-13 09:14:50 +01:00
Bertrand Benjamin 9d5b441402 Doc(Compute/typing): Make ComputeError and TypingError more clear 2018-10-10 10:46:58 +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 94c117151d Fix(Fraction): debug successive division (1 to MOnumber(1)) 2018-10-05 11:20:08 +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 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 f8e00a8638 Create MOstrPower and start adding it into multiply 2018-03-18 10:34:46 +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 985032b1af type filter for operations 2018-03-15 16:37:48 +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 25f791bd81 Minus MO 2018-03-12 19:27:01 +03:00
Bertrand Benjamin 98381f4512 Add 2 fractions works! 2018-03-12 07:34:26 +03:00
Bertrand Benjamin 5f5fcc5a79 Multiply with MOnumber and MOFraction 2018-03-11 20:05:17 +03:00
Bertrand Benjamin b10492533e Throw bases for computing (and start tiding exceptions) 2018-03-11 18:34:41 +03:00