Commit Graph

75 Commits

Author SHA1 Message Date
Bertrand Benjamin a1608a20d1 Feat: add test on what doesn't work! 2020-12-15 14:36:39 +01:00
Bertrand Benjamin 2109fc46cb Fix: simplify rendering by expanding tree. still bugs with set_render 2020-12-12 23:14:44 +01:00
Bertrand Benjamin 1a20e6927d Feat: remove __txt__ and __tex__
continuous-integration/drone/push Build is passing Details
2020-12-12 22:10:53 +01:00
Bertrand Benjamin 7649928be8 Fix: clean __str__ method for token 2020-12-12 22:10:53 +01:00
Bertrand Benjamin bb43611f67 Test: separate expression build and showing it
continuous-integration/drone/push Build is passing Details
2020-11-15 21:12:26 +01:00
Bertrand Benjamin fadd93b9a6 Feat: change frac to dfrac for fractions 2019-11-04 09:43:52 +01:00
Bertrand Benjamin f12ec38746 Feat: Polynomial are displayed in nicer order! 2019-10-30 21:12:58 +01:00
Bertrand Benjamin f8b24472d1 Fix: clean __init__ 2019-10-30 20:59:09 +01:00
Bertrand Benjamin 240857a7ad Fix: chante value to content in raw 2019-10-30 20:58:46 +01:00
Bertrand Benjamin 69e1e43966 Feat: raw methods for tokens 2019-10-16 22:45:41 +02:00
Bertrand Benjamin 84c71f6b5d Feat: overload pow for tokens 2019-10-15 19:32:19 +02:00
Bertrand Benjamin 43fd46379c Feat: dirty way to get decimal approx of a function 2019-10-14 22:26:51 +02:00
Bertrand Benjamin 2d296cf1d2 Feat: allowing to import Decimal 2019-10-14 22:22:08 +02:00
Bertrand Benjamin 12109156d1 Feat: allow import Integer in calculus 2019-10-13 22:38:49 +02:00
Bertrand Benjamin 2fad004d6d Feat: dirty sub (repeatition in explain) 2019-10-13 22:38:49 +02:00
Bertrand Benjamin 207dead5d0 Feat: doctest for operation between Token and str 2019-10-13 22:38:49 +02:00
Bertrand Benjamin e24bff23db Feat: tokens can operate with builtin int 2019-10-13 22:38:49 +02:00
Bertrand Benjamin 69c2b3718d Fix: precessing -> processing 2019-10-13 22:38:49 +02:00
Bertrand Benjamin 931e55c35e Fix: Black does its job 2019-10-13 22:38:49 +02:00
Bertrand Benjamin aba43c9f19 Feat: no more round in quadratic roots 2019-07-17 09:55:32 +02:00
Bertrand Benjamin 204fdf755b Feat: to_be_token decorator and force token to be Integer when it's
possible
2019-07-17 09:49:50 +02:00
Bertrand Benjamin d75fd4c4cf Feat: tokenify for everything! 2019-07-17 09:25:12 +02:00
Bertrand Benjamin a32b684b6b Feat: Test and validate roots (but not elegant) 2019-07-16 16:49:33 +02:00
Bertrand Benjamin a5f062a151 Feat: doctest for composing Expressions 2019-07-16 09:31:30 +02:00
Bertrand Benjamin f8e1c7f962 Feat: Expression call works with tokens 2019-07-16 09:30:30 +02:00
Bertrand Benjamin 04ac74d17a Fix: move __call__ to expressions 2019-07-15 18:37:16 +02:00
Bertrand Benjamin 41385ec561 Feat: Polynoms can be differentiate!!!! 2019-07-15 17:48:59 +02:00
Bertrand Benjamin 6e24756746 Fix: replace notimplemented by NotImplementedError 2019-07-15 17:16:00 +02:00
Bertrand Benjamin d45ab560c9 Feat: coefficients, delta and some roots for polynomial, Linear and Quadratic 2019-07-15 11:59:28 +02:00
Bertrand Benjamin fa8beb6bb2 Feat: Polynomial can be evaluated 2019-07-15 11:14:48 +02:00
Bertrand Benjamin b81281d78a Feat: Move some import into functions 2019-07-15 11:09:59 +02:00
Bertrand Benjamin 071b8caf1d Feat: start working on eval for polynoms 2019-07-15 10:42:49 +02:00
Bertrand Benjamin 63de956a4f Fix: subtree render for tex 2019-07-11 18:03:49 +02:00
Bertrand Benjamin cd590c7fe0 Feat: remove set_render("txt") in doctest 2019-07-11 10:58:01 +02:00
Bertrand Benjamin f1424c8704 Feat: set_render to tex for module import and to txt in doctest 2019-06-28 11:43:17 +02:00
Bertrand Benjamin 5ea09aebf2 Feat: Defaut render is tex when Expression is imported from mapytex 2019-06-28 09:34:06 +02:00
Bertrand Benjamin 152fa2301c Test: add doctest for a bug about tree encapsulation 2019-06-28 09:02:17 +02:00
Bertrand Benjamin ca7e6b2ecb Fix: Fix encaspulate Expression._tree when init with random 2019-06-27 21:31:17 +02:00
Bertrand Benjamin 91efea28cd Merge branch 'FT_random' of git_opytex:/lafrite/Mapytex into FT_random 2019-05-16 19:42:52 +02:00
Bertrand Benjamin 8ab306683b Fix: forgot to skip a doctest 2019-05-16 19:02:31 +02:00
Bertrand Benjamin fbe72ae764 Feat: Expression can be generated randomly!!! 2019-05-16 17:21:34 +02:00
Bertrand Benjamin 09b04d2703 Style: apply black 2019-05-14 06:55:56 +02:00
Bertrand Benjamin f87e6c5727 Refact(core): rename bltin_gene to int_gene 2019-01-07 09:42:43 +01:00
Bertrand Benjamin 94077b6e6c Refact(core): reorganise files for random 2019-01-07 09:38:20 +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 092fd3c0a7 Fix(API): organise import and clean API renders 2018-12-21 11:36:40 +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