Commit Graph

44 Commits

Author SHA1 Message Date
Bertrand Benjamin 5f398b4c8d Feat: change frac to dfrac for fractions 2020-08-20 16:59:40 +02:00
Bertrand Benjamin d72a2be175 Feat: Polynomial are displayed in nicer order! 2020-08-20 16:59:40 +02:00
Bertrand Benjamin d6bb61dc48 Fix: Black does its job 2020-08-20 16:59:40 +02:00
Bertrand Benjamin e52fec4057 Feat: MOnumber creating with a integer string 2020-08-20 16:59:40 +02:00
Bertrand Benjamin 219d923ff5 Feat: to_be_token decorator and force token to be Integer when it's
possible
2020-08-20 16:59:40 +02:00
Bertrand Benjamin 419e5955eb Feat: tokenify for everything! 2020-08-20 16:59:40 +02:00
Bertrand Benjamin 9d9224fcba Feat: Polynoms can be differentiate!!!! 2020-08-20 16:59:40 +02:00
Bertrand Benjamin ca33a00877 Feat: Split moify into the function and the coroutine 2019-05-16 17:17:59 +02:00
Bertrand Benjamin 09b04d2703 Style: apply black 2019-05-14 06:55:56 +02:00
Bertrand Benjamin 827249e944 Fix(Core): str, txt and tex methods for MOmonial with -1 in coef 2018-12-21 12:26:11 +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 8b6ede92c5 Feat(Core): Clarify power and degree for MO 2018-12-07 15:29:34 +01:00
Bertrand Benjamin cad6cd7182 Feat(Core): add coefficients property to MOstr, MOstrPower, MOMonomial 2018-12-07 15:09:39 +01:00
Bertrand Benjamin 21cc3b68a3 Fix(core): Add doctest and simplify tree build 2018-12-07 11:21:40 +01:00
Bertrand Benjamin 79aaa3c5d9 Feat(core): add power attribut to MOPolynomial 2018-12-07 10:47:00 +01:00
Bertrand Benjamin 1c02b57476 Fix(Core): degree method of MOpolynomial 2018-12-07 10:43:41 +01:00
Bertrand Benjamin c8be5c1414 Doc(Core): Add docstring for monomials in MOPolynomial 2018-11-23 11:53:10 +01:00
Bertrand Benjamin 8f99d1e71e Feat(Core): Add signature to mos 2018-11-23 10:05:36 +01:00
Bertrand Benjamin 6edf4fe5b4 Fix(MO): Redefine strpower method of MOMonomial for deg 1 case 2018-11-19 12:21:59 +01:00
Bertrand Benjamin b23d83b9da Feat(Compute): Add polynoms with polynoms 2018-11-13 16:19:02 +01:00
Bertrand Benjamin f6f6741398 Fix(MO): MOMonomial variable can be str in __init__ 2018-11-13 15:55:55 +01:00
Bertrand Benjamin 17153dd345 Feat(Compute): Add MOpolynomial with scalar 2018-11-13 14:42:40 +01:00
Bertrand Benjamin 051d79cb9b Feat(Compute): Start add MO to create MOpolynomial 2018-11-13 11:40:21 +01:00
Bertrand Benjamin eff3ccf9f5 Feat(MO): Initiate MOpolynomial 2018-11-13 10:58:32 +01:00
Bertrand Benjamin abf056ce33 refactor(MO): Separate value and tree in MOs 2018-11-13 09:14:50 +01:00
Bertrand Benjamin 5b9a35081a Feat(MO): Start polynomial 2018-11-12 09:41:39 +01: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 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 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 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 e4efa1028e Some PEP8 rectifications 2018-03-13 14:43:48 +03:00
Bertrand Benjamin 98381f4512 Add 2 fractions works! 2018-03-12 07:34:26 +03:00
Bertrand Benjamin 9baf6c5dbd Remove bug with MOnumber = 0 2018-03-11 20:04:47 +03:00
Bertrand Benjamin b10492533e Throw bases for computing (and start tiding exceptions) 2018-03-11 18:34:41 +03:00
Bertrand Benjamin b2239e0e56 str2tex done and integrate into MO 2018-03-10 16:08:28 +03:00
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 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