Commit Graph

778 Commits

Author SHA1 Message Date
Bertrand Benjamin e0334d3c0f Test(core): doctest reject_random and filter_random 2019-01-07 09:24:19 +01:00
Bertrand Benjamin f04e221f70 Feat(Core/API): Random generation methods for numbers 2018-12-22 08:42:31 +01:00
Bertrand Benjamin fd49a6c987 Fix(API): API number can be generate randomly 2018-12-21 17:03:12 +01:00
Bertrand Benjamin ce10db7c32 Refact(Core): Move arithmetic to core from compute 2018-12-21 16:42:05 +01: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 092fd3c0a7 Fix(API): organise import and clean API renders 2018-12-21 11:36:40 +01:00
Bertrand Benjamin a2c1174ff3 Fix(Core): Remove obselete try (use to debug) 2018-12-21 11:31:10 +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 e7015e282d Merge branch 'dev_tree' of ssh://git.opytex.org:2222/lafrite/Mapytex into dev_tree 2018-12-17 11:23:34 +01:00
Bertrand Benjamin ef371401e6 Feat(API): +*/ for Tokens 2018-12-13 13:45:39 +01:00
Bertrand Benjamin c9fe2ede7d Feat(API): Allow to init tokens from builtin types 2018-12-13 10:44:52 +01:00
Bertrand Benjamin 780772ec2d Feat(API): Expression.from_str tries to build a token when it's
possible
2018-12-13 09:29:44 +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 bcf589c607 Feat(API): factory build every tokens! 2018-12-07 11:23:05 +01:00
Bertrand Benjamin 21cc3b68a3 Fix(core): Add doctest and simplify tree build 2018-12-07 11:21:40 +01:00
Bertrand Benjamin 24b421209f Fix(Core): add exceptions handling in render (not convinced...) 2018-12-07 11:21:00 +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 5bf23a4793 Feat(API): integrate Token to Expression simplify 2018-12-07 10:27:50 +01:00
Bertrand Benjamin 5938cc7875 Feat(API): throw basis of api maht object (token) 2018-12-07 08:10:15 +01:00
Bertrand Benjamin 5d2611260a Fix(Core): bug with nested tree and parsing parenthesis 2018-11-27 17:11:06 +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 c8be5c1414 Doc(Core): Add docstring for monomials in MOPolynomial 2018-11-23 11:53:10 +01:00
Bertrand Benjamin 2176cc65df Feat(Core): Multiply for monome is done 2018-11-23 11:24:33 +01:00
Bertrand Benjamin 95634d366b Feat(API): Organise in calculus before computing 2018-11-23 10:06:33 +01:00
Bertrand Benjamin 19d936ee8e Doc(Core): Add doctest in organise_by 2018-11-23 10:06:07 +01:00
Bertrand Benjamin 8f99d1e71e Feat(Core): Add signature to mos 2018-11-23 10:05:36 +01:00
Bertrand Benjamin 8933359945 Refect(Core): Improve error catch in apply and apply_on_last_level 2018-11-21 15:54:07 +01:00
Bertrand Benjamin fe52d9b346 style(API): Put multiple exceptions in one line 2018-11-21 09:51:14 +01:00
Bertrand Benjamin 5ab5314899 Feat(API): In simplify first typing then optimize 2018-11-21 09:43:35 +01:00
Bertrand Benjamin 505d2f1c09 Fix(Core): apply_on_last_level handle NotImplementedError 2018-11-21 09:37:17 +01:00
Bertrand Benjamin f53aa26542 Refact(API): Split simplify into _optimize, _typing, _compute 2018-11-21 08:54:37 +01:00
Bertrand Benjamin b4f9ced8a9 Doc(API): Adapt doctest to new computing order 2018-11-19 15:46:39 +01:00
Bertrand Benjamin 4999e80ec3 Fix(Core): Change append_bot to respect natural computing order 2018-11-19 15:44:02 +01:00
Bertrand Benjamin e37a8a5a2e Fix(API): Rewrite tree apply_on_last_level and reorganise simplify 2018-11-19 12:23:37 +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 1be3b35e1b Feat(Core): Add compute add for 2 mostr and 2 mostrpower 2018-11-19 12:17:03 +01:00
Bertrand Benjamin 8280640a4f Feat(Core): Add exceptions for add typing 2018-11-19 12:09:54 +01:00
Bertrand Benjamin ecf7e7678f Refact(Tree): Rename type_function to fallback in apply_on_last_level 2018-11-14 16:06:37 +01:00
Bertrand Benjamin eae88d6c4c Fix(Compute/Typing): Add MOpolynomial to MOS list 2018-11-14 16:05:38 +01:00
Bertrand Benjamin 298093d97d Doc(Typing): Typing function return MO 2018-11-14 16:04:53 +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