Commit Graph

234 Commits

Author SHA1 Message Date
1685c73051 Feat: Allow pure string rendering 2019-07-16 09:09:39 +02:00
04ac74d17a Fix: move __call__ to expressions 2019-07-15 18:37:16 +02:00
23ab39f7d4 Feat: add tree2tex in all import 2019-07-15 18:36:59 +02:00
41385ec561 Feat: Polynoms can be differentiate!!!! 2019-07-15 17:48:59 +02:00
8389a319f0 Fix: Issue with typing null monomial 2019-07-15 17:27:38 +02:00
6e24756746 Fix: replace notimplemented by NotImplementedError 2019-07-15 17:16:00 +02:00
d45ab560c9 Feat: coefficients, delta and some roots for polynomial, Linear and Quadratic 2019-07-15 11:59:28 +02:00
fa8beb6bb2 Feat: Polynomial can be evaluated 2019-07-15 11:14:48 +02:00
b81281d78a Feat: Move some import into functions 2019-07-15 11:09:59 +02:00
071b8caf1d Feat: start working on eval for polynoms 2019-07-15 10:42:49 +02:00
1ed0b9715a Fix: typing filter for multiply 2019-07-15 10:42:13 +02:00
63de956a4f Fix: subtree render for tex 2019-07-11 18:03:49 +02:00
cd590c7fe0 Feat: remove set_render("txt") in doctest 2019-07-11 10:58:01 +02:00
7c4dc05e34 Feat: Default render is txt 2019-07-11 10:36:35 +02:00
b5f45c97d0 Fix: Issue with copying variables_scope into complete_scope solved 2019-07-01 11:10:39 +02:00
f1424c8704 Feat: set_render to tex for module import and to txt in doctest 2019-06-28 11:43:17 +02:00
f037d5545f Fix: Clean tree2tex by copying tree2txt 2019-06-28 11:30:54 +02:00
aeb8fa4321 Fix: Clean weightedDataset from flatten_list 2019-06-28 10:37:59 +02:00
1d9aefd9e3 Feat: Enable stat and geometry tools import 2019-06-28 10:28:02 +02:00
5ea09aebf2 Feat: Defaut render is tex when Expression is imported from mapytex 2019-06-28 09:34:06 +02:00
152fa2301c Test: add doctest for a bug about tree encapsulation 2019-06-28 09:02:17 +02:00
c540471d4a Chore: module import and metadata 2019-06-28 08:52:37 +02:00
ca7e6b2ecb Fix: Fix encaspulate Expression._tree when init with random 2019-06-27 21:31:17 +02:00
91efea28cd Merge branch 'FT_random' of git_opytex:/lafrite/Mapytex into FT_random 2019-05-16 19:42:52 +02:00
8ab306683b Fix: forgot to skip a doctest 2019-05-16 19:02:31 +02:00
fbe72ae764 Feat: Expression can be generated randomly!!! 2019-05-16 17:21:34 +02:00
ca33a00877 Feat: Split moify into the function and the coroutine 2019-05-16 17:17:59 +02:00
037fd9f68a Feat(random): random str parsing is done 2019-05-14 07:03:05 +02:00
040dfff0ec Doc: Doctest for Tree generator 2019-05-14 07:01:49 +02:00
4e7ba55970 Feat: random variable generator done! 2019-05-14 07:01:02 +02:00
b781408d31 Fix: doctest over sets 2019-05-14 06:59:46 +02:00
c9c44be0d1 Feat(random): Start random tree generation 2019-05-14 06:59:46 +02:00
538cbdcbcc Feat(random): random tree generation flow is ok. Need to create generate
function
2019-05-14 06:56:33 +02:00
3e43684937 Feat(random): Start random tree generation 2019-05-14 06:56:33 +02:00
09b04d2703 Style: apply black 2019-05-14 06:55:56 +02:00
ca7cd001d8 Feat(random): random str parsing is done 2019-05-13 19:37:34 +02:00
33ded0d90e Doc: Doctest for Tree generator 2019-05-12 17:14:25 +02:00
295677045b Feat: random variable generator done! 2019-05-12 16:58:36 +02:00
d94beef79a Fix: doctest over sets 2019-05-12 15:59:49 +02:00
c7561fa6fe Feat(random): random tree generation flow is ok. Need to create generate
function
2019-05-09 18:37:39 +02:00
a77c2f9795 Feat(random): Start random tree generation 2019-05-09 17:47:02 +02:00
7097801306 Style: remove some withspace 2019-05-09 17:43:56 +02:00
5df0b0c21e Fix: Rewrite lookfornumber to fix - parsing issue 2019-05-08 16:09:00 +02:00
7413a76f8d Feat: import Expression from calculus and docstring in random 2019-05-08 14:44:35 +02:00
f87e6c5727 Refact(core): rename bltin_gene to int_gene 2019-01-07 09:42:43 +01:00
94077b6e6c Refact(core): reorganise files for random 2019-01-07 09:38:20 +01:00
e0334d3c0f Test(core): doctest reject_random and filter_random 2019-01-07 09:24:19 +01:00
f04e221f70 Feat(Core/API): Random generation methods for numbers 2018-12-22 08:42:31 +01:00
fd49a6c987 Fix(API): API number can be generate randomly 2018-12-21 17:03:12 +01:00
ce10db7c32 Refact(Core): Move arithmetic to core from compute 2018-12-21 16:42:05 +01: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
092fd3c0a7 Fix(API): organise import and clean API renders 2018-12-21 11:36:40 +01:00
a2c1174ff3 Fix(Core): Remove obselete try (use to debug) 2018-12-21 11:31:10 +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
80305671de Feat(Core): Compute with power 2018-12-19 14:17:43 +01:00
2551037b65 Fix(Core): Tree.from_str allow - in front of parenthesis 2018-12-17 14:54:48 +01:00
e7015e282d Merge branch 'dev_tree' of ssh://git.opytex.org:2222/lafrite/Mapytex into dev_tree 2018-12-17 11:23:34 +01:00
ef371401e6 Feat(API): +*/ for Tokens 2018-12-13 13:45:39 +01:00
c9fe2ede7d Feat(API): Allow to init tokens from builtin types 2018-12-13 10:44:52 +01:00
780772ec2d Feat(API): Expression.from_str tries to build a token when it's
possible
2018-12-13 09:29:44 +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
bcf589c607 Feat(API): factory build every tokens! 2018-12-07 11:23:05 +01:00
21cc3b68a3 Fix(core): Add doctest and simplify tree build 2018-12-07 11:21:40 +01:00
24b421209f Fix(Core): add exceptions handling in render (not convinced...) 2018-12-07 11:21:00 +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
5bf23a4793 Feat(API): integrate Token to Expression simplify 2018-12-07 10:27:50 +01:00
5938cc7875 Feat(API): throw basis of api maht object (token) 2018-12-07 08:10:15 +01:00
5d2611260a Fix(Core): bug with nested tree and parsing parenthesis 2018-11-27 17:11:06 +01:00
5cbefa3165 Fix(Core): Add mopoly * other and reorder monoms after * 2018-11-23 12:15:12 +01:00
9e4edc09e3 Feat(Core): Multiply 2 MOpolynomial together 2018-11-23 11:59:07 +01:00
55c0830671 Feat(Core): Compute with MOpolynomial with all but MOpolynomial 2018-11-23 11:53:37 +01:00
c8be5c1414 Doc(Core): Add docstring for monomials in MOPolynomial 2018-11-23 11:53:10 +01:00
2176cc65df Feat(Core): Multiply for monome is done 2018-11-23 11:24:33 +01:00
95634d366b Feat(API): Organise in calculus before computing 2018-11-23 10:06:33 +01:00
19d936ee8e Doc(Core): Add doctest in organise_by 2018-11-23 10:06:07 +01:00
8f99d1e71e Feat(Core): Add signature to mos 2018-11-23 10:05:36 +01:00
8933359945 Refect(Core): Improve error catch in apply and apply_on_last_level 2018-11-21 15:54:07 +01:00
fe52d9b346 style(API): Put multiple exceptions in one line 2018-11-21 09:51:14 +01:00
5ab5314899 Feat(API): In simplify first typing then optimize 2018-11-21 09:43:35 +01:00
505d2f1c09 Fix(Core): apply_on_last_level handle NotImplementedError 2018-11-21 09:37:17 +01:00
f53aa26542 Refact(API): Split simplify into _optimize, _typing, _compute 2018-11-21 08:54:37 +01:00
b4f9ced8a9 Doc(API): Adapt doctest to new computing order 2018-11-19 15:46:39 +01:00
4999e80ec3 Fix(Core): Change append_bot to respect natural computing order 2018-11-19 15:44:02 +01:00
e37a8a5a2e Fix(API): Rewrite tree apply_on_last_level and reorganise simplify 2018-11-19 12:23:37 +01:00
6edf4fe5b4 Fix(MO): Redefine strpower method of MOMonomial for deg 1 case 2018-11-19 12:21:59 +01:00
1be3b35e1b Feat(Core): Add compute add for 2 mostr and 2 mostrpower 2018-11-19 12:17:03 +01:00
8280640a4f Feat(Core): Add exceptions for add typing 2018-11-19 12:09:54 +01:00
ecf7e7678f Refact(Tree): Rename type_function to fallback in apply_on_last_level 2018-11-14 16:06:37 +01:00
eae88d6c4c Fix(Compute/Typing): Add MOpolynomial to MOS list 2018-11-14 16:05:38 +01:00
298093d97d Doc(Typing): Typing function return MO 2018-11-14 16:04:53 +01:00
3a89bcd24f Doc(Compute): update compute capacities 2018-11-14 11:05:35 +01:00
c176bb7bc4 Feat(Typing): Write all str related typing functions 2018-11-14 10:04:27 +01:00
a79ffb0cf9 Feat(Compute): Compute with monomials is done 2018-11-14 09:00:19 +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
a32fd7cbc6 Feat(Compute): Compute MOstr and MOstrPower 2018-11-13 12:12:36 +01:00