Commit Graph

42 Commits

Author SHA1 Message Date
931e55c35e Fix: Black does its job 2019-10-13 22:38:49 +02:00
b93f34bc38 Feat: MOnumber creating with a integer string 2019-07-17 09:53:03 +02:00
204fdf755b Feat: to_be_token decorator and force token to be Integer when it's
possible
2019-07-17 09:49:50 +02:00
d75fd4c4cf Feat: tokenify for everything! 2019-07-17 09:25:12 +02:00
41385ec561 Feat: Polynoms can be differentiate!!!! 2019-07-15 17:48:59 +02:00
ca33a00877 Feat: Split moify into the function and the coroutine 2019-05-16 17:17:59 +02:00
09b04d2703 Style: apply black 2019-05-14 06:55:56 +02:00
827249e944 Fix(Core): str, txt and tex methods for MOmonial with -1 in coef 2018-12-21 12:26:11 +01:00
9a68b826a3 Feat(Core): Change default str function for MO 2018-12-21 12:20:13 +01:00
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
8b6ede92c5 Feat(Core): Clarify power and degree for MO 2018-12-07 15:29:34 +01:00
cad6cd7182 Feat(Core): add coefficients property to MOstr, MOstrPower, MOMonomial 2018-12-07 15:09:39 +01:00
21cc3b68a3 Fix(core): Add doctest and simplify tree build 2018-12-07 11:21:40 +01:00
79aaa3c5d9 Feat(core): add power attribut to MOPolynomial 2018-12-07 10:47:00 +01:00
1c02b57476 Fix(Core): degree method of MOpolynomial 2018-12-07 10:43:41 +01:00
c8be5c1414 Doc(Core): Add docstring for monomials in MOPolynomial 2018-11-23 11:53:10 +01:00
8f99d1e71e Feat(Core): Add signature to mos 2018-11-23 10:05:36 +01:00
6edf4fe5b4 Fix(MO): Redefine strpower method of MOMonomial for deg 1 case 2018-11-19 12:21:59 +01:00
b23d83b9da Feat(Compute): Add polynoms with polynoms 2018-11-13 16:19:02 +01:00
f6f6741398 Fix(MO): MOMonomial variable can be str in __init__ 2018-11-13 15:55:55 +01:00
17153dd345 Feat(Compute): Add MOpolynomial with scalar 2018-11-13 14:42:40 +01:00
051d79cb9b Feat(Compute): Start add MO to create MOpolynomial 2018-11-13 11:40:21 +01:00
eff3ccf9f5 Feat(MO): Initiate MOpolynomial 2018-11-13 10:58:32 +01:00
abf056ce33 refactor(MO): Separate value and tree in MOs 2018-11-13 09:14:50 +01:00
5b9a35081a Feat(MO): Start polynomial 2018-11-12 09:41:39 +01:00
f8e00a8638 Create MOstrPower and start adding it into multiply 2018-03-18 10:34:46 +03:00
3b59e0ffb0 Generic function for MO: __eq__ and __hash__ 2018-03-18 10:34:15 +03:00
0cef131c41 Render momonial and multiply with scalar 2018-03-17 08:45:23 +03:00
b0ff919693 synthtize comparison for MOnumber 2018-03-15 16:38:25 +03:00
6e2cc96781 Start MOMonomial class 2018-03-14 11:42:43 +03:00
3aa7c92f54 Add doctest in MO.factory and an error message 2018-03-14 11:42:10 +03:00
eff438b930 Move MOError to exceptions.py 2018-03-14 11:04:13 +03:00
d1c6e2d3da Overload operators for MOnumbers in order to use gcd 2018-03-13 18:57:38 +03:00
e4efa1028e Some PEP8 rectifications 2018-03-13 14:43:48 +03:00
98381f4512 Add 2 fractions works! 2018-03-12 07:34:26 +03:00
9baf6c5dbd Remove bug with MOnumber = 0 2018-03-11 20:04:47 +03:00
b10492533e Throw bases for computing (and start tiding exceptions) 2018-03-11 18:34:41 +03:00
b2239e0e56 str2tex done and integrate into MO 2018-03-10 16:08:28 +03:00
d14850c78d Rearrange folders and use tree2txt inside MO 2018-03-10 08:44:01 +03:00
d498af2bab tree2txt is done and doctested 2018-03-10 08:03:55 +03:00
a8a62864a6 Integrate MO inside str2 and in Tree (doctest are ok) 2018-03-09 19:31:46 +03:00
1ab74eb133 Start writing MOs 2018-03-08 17:01:47 +03:00