Commit Graph

79 Commits

Author SHA1 Message Date
cbcead48f7 Feat: Init polynomial with coefficients
All checks were successful
continuous-integration/drone/push Build is passing
2021-02-04 10:18:12 +01:00
ff4d8471ef Feat: dirty way to manage () and * in render 2020-12-15 16:01:54 +01:00
460255b151 Fix: Rendering and changing it works 2020-12-15 15:37:27 +01:00
95fd12c430 Feat: test num and denom for fraction 2020-12-15 15:02:39 +01:00
a1608a20d1 Feat: add test on what doesn't work! 2020-12-15 14:36:39 +01:00
2109fc46cb Fix: simplify rendering by expanding tree. still bugs with set_render 2020-12-12 23:14:44 +01:00
1a20e6927d Feat: remove __txt__ and __tex__
All checks were successful
continuous-integration/drone/push Build is passing
2020-12-12 22:10:53 +01:00
7649928be8 Fix: clean __str__ method for token 2020-12-12 22:10:53 +01:00
bb43611f67 Test: separate expression build and showing it
All checks were successful
continuous-integration/drone/push Build is passing
2020-11-15 21:12:26 +01:00
fadd93b9a6 Feat: change frac to dfrac for fractions 2019-11-04 09:43:52 +01:00
f12ec38746 Feat: Polynomial are displayed in nicer order! 2019-10-30 21:12:58 +01:00
f8b24472d1 Fix: clean __init__ 2019-10-30 20:59:09 +01:00
240857a7ad Fix: chante value to content in raw 2019-10-30 20:58:46 +01:00
69e1e43966 Feat: raw methods for tokens 2019-10-16 22:45:41 +02:00
84c71f6b5d Feat: overload pow for tokens 2019-10-15 19:32:19 +02:00
43fd46379c Feat: dirty way to get decimal approx of a function 2019-10-14 22:26:51 +02:00
2d296cf1d2 Feat: allowing to import Decimal 2019-10-14 22:22:08 +02:00
12109156d1 Feat: allow import Integer in calculus 2019-10-13 22:38:49 +02:00
2fad004d6d Feat: dirty sub (repeatition in explain) 2019-10-13 22:38:49 +02:00
207dead5d0 Feat: doctest for operation between Token and str 2019-10-13 22:38:49 +02:00
e24bff23db Feat: tokens can operate with builtin int 2019-10-13 22:38:49 +02:00
69c2b3718d Fix: precessing -> processing 2019-10-13 22:38:49 +02:00
931e55c35e Fix: Black does its job 2019-10-13 22:38:49 +02:00
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