Commit Graph

71 Commits

Author SHA1 Message Date
Bertrand Benjamin 7f8939eab2 Test: separate expression build and showing it
continuous-integration/drone/push Build is passing Details
2020-08-21 19:07:34 +02:00
Bertrand Benjamin 5f398b4c8d Feat: change frac to dfrac for fractions 2020-08-20 16:59:40 +02:00
Bertrand Benjamin d72a2be175 Feat: Polynomial are displayed in nicer order! 2020-08-20 16:59:40 +02:00
Bertrand Benjamin e596c1af60 Fix: clean __init__ 2020-08-20 16:59:40 +02:00
Bertrand Benjamin b84cf047bd Fix: chante value to content in raw 2020-08-20 16:59:40 +02:00
Bertrand Benjamin 2317296534 Feat: raw methods for tokens 2020-08-20 16:59:40 +02:00
Bertrand Benjamin 0c84c63ad3 Feat: overload pow for tokens 2020-08-20 16:59:40 +02:00
Bertrand Benjamin 0abd80655a Feat: dirty way to get decimal approx of a function 2020-08-20 16:59:40 +02:00
Bertrand Benjamin a3f7efca12 Feat: allowing to import Decimal 2020-08-20 16:59:40 +02:00
Bertrand Benjamin 1a74c54548 Feat: allow import Integer in calculus 2020-08-20 16:59:40 +02:00
Bertrand Benjamin 1dccaabd86 Feat: dirty sub (repeatition in explain) 2020-08-20 16:59:40 +02:00
Bertrand Benjamin 510f6a1fa2 Feat: doctest for operation between Token and str 2020-08-20 16:59:40 +02:00
Bertrand Benjamin 6b353d2dd0 Feat: tokens can operate with builtin int 2020-08-20 16:59:40 +02:00
Bertrand Benjamin fbfaeb5a58 Fix: precessing -> processing 2020-08-20 16:59:40 +02:00
Bertrand Benjamin d6bb61dc48 Fix: Black does its job 2020-08-20 16:59:40 +02:00
Bertrand Benjamin 02214b0f82 Feat: no more round in quadratic roots 2020-08-20 16:59:40 +02:00
Bertrand Benjamin 219d923ff5 Feat: to_be_token decorator and force token to be Integer when it's
possible
2020-08-20 16:59:40 +02:00
Bertrand Benjamin 419e5955eb Feat: tokenify for everything! 2020-08-20 16:59:40 +02:00
Bertrand Benjamin f471a1efb3 Feat: Test and validate roots (but not elegant) 2020-08-20 16:59:40 +02:00
Bertrand Benjamin 7600962fe4 Feat: doctest for composing Expressions 2020-08-20 16:59:40 +02:00
Bertrand Benjamin 3e258b2d41 Feat: Expression call works with tokens 2020-08-20 16:59:40 +02:00
Bertrand Benjamin 0c3c20262e Fix: move __call__ to expressions 2020-08-20 16:59:40 +02:00
Bertrand Benjamin 9d9224fcba Feat: Polynoms can be differentiate!!!! 2020-08-20 16:59:40 +02:00
Bertrand Benjamin beb319f21d Fix: replace notimplemented by NotImplementedError 2020-08-20 16:59:40 +02:00
Bertrand Benjamin 50f77c4d60 Feat: coefficients, delta and some roots for polynomial, Linear and Quadratic 2020-08-20 16:59:40 +02:00
Bertrand Benjamin a83b5ada8d Feat: Polynomial can be evaluated 2020-08-20 16:59:40 +02:00
Bertrand Benjamin 0aba5eaef6 Feat: Move some import into functions 2020-08-20 16:59:40 +02:00
Bertrand Benjamin 0faaf481ca Feat: start working on eval for polynoms 2020-08-20 16:59:40 +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
Bertrand Benjamin bcf589c607 Feat(API): factory build every tokens! 2018-12-07 11:23:05 +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 95634d366b Feat(API): Organise in calculus before computing 2018-11-23 10:06:33 +01:00