Commit Graph

56 Commits

Author SHA1 Message Date
aba43c9f19 Feat: no more round in quadratic roots 2019-07-17 09:55:32 +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
a32b684b6b Feat: Test and validate roots (but not elegant) 2019-07-16 16:49:33 +02:00
a5f062a151 Feat: doctest for composing Expressions 2019-07-16 09:31:30 +02:00
f8e1c7f962 Feat: Expression call works with tokens 2019-07-16 09:30:30 +02:00
04ac74d17a Fix: move __call__ to expressions 2019-07-15 18:37:16 +02:00
41385ec561 Feat: Polynoms can be differentiate!!!! 2019-07-15 17:48:59 +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
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
f1424c8704 Feat: set_render to tex for module import and to txt in doctest 2019-06-28 11:43:17 +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
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
09b04d2703 Style: apply black 2019-05-14 06:55:56 +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
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
092fd3c0a7 Fix(API): organise import and clean API renders 2018-12-21 11:36:40 +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
bcf589c607 Feat(API): factory build every tokens! 2018-12-07 11:23:05 +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
95634d366b Feat(API): Organise in calculus before computing 2018-11-23 10:06:33 +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
e37a8a5a2e Fix(API): Rewrite tree apply_on_last_level and reorganise simplify 2018-11-19 12:23:37 +01:00
d2f67a0961 Fix(Render): Ajust "*" visibility with variables 2018-10-10 10:40:40 +02:00
e6abc208a0 Feat(compute): Multiply strpower and str done
Discover bug with str and * printing
2018-10-10 10:28:38 +02:00
ddf15e4276 Feat(compute): Write powers of fraction 2018-10-10 10:13:58 +02:00
94c117151d Fix(Fraction): debug successive division (1 to MOnumber(1)) 2018-10-05 11:20:08 +02:00
9e0a703e98 Feat(Tree): Add exclude_nodes in balance to trees 2018-10-05 08:52:04 +02:00
948402755a Feat(Expression): Implement balance in expression 2018-10-04 08:16:59 +02:00
e9a865a14a Feat(API): use balance before computing to optimize calculus 2018-10-01 16:14:04 +02:00
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