Commit Graph

778 Commits

Author SHA1 Message Date
Lafrite
9370e8c48b solve bug with random and degree 2015-02-27 22:26:53 +01:00
Lafrite
9e212e5add power done for Polynom 2015-02-27 22:16:18 +01:00
Lafrite
8e63c64a65 __mul__ for poly still __pow__ and an issue with random 2015-02-27 19:24:27 +01:00
Lafrite
6e0d36f411 Reduce __add__ __sub__ __neg__ for Polynom 2015-02-27 18:58:01 +01:00
Lafrite
96dd6824ee name mistake in fraction 2015-02-27 18:05:07 +01:00
Lafrite
ce94c27430 Reduce for polynoms works 2015-02-27 18:04:50 +01:00
Lafrite
e2e3287420 explan accept Polynom 2015-02-27 18:02:27 +01:00
Lafrite
506045a670 Solve bug with context manager 2015-02-27 17:46:16 +01:00
Lafrite
c2bb98ab40 Finish adapting test_fraction with explain 2015-02-27 16:57:13 +01:00
Lafrite
03499439dd rdiv -> rtruediv in expression 2015-02-27 16:56:43 +01:00
Lafrite
769666892f Adapt Fraction for explain and new logic and verify doctest. Need to adapt unittest 2015-02-27 11:43:20 +01:00
Lafrite
d7a2df190f mod div to truediv in expression 2015-02-27 11:38:17 +01:00
Lafrite
7e76f4aecd Remove commented parts 2015-02-27 09:09:42 +01:00
Lafrite
3c21b42d6c Simplify test_expression for py.test and adapt it for explain method 2015-02-27 08:55:36 +01:00
Lafrite
6d8b1786b3 explain works for Expression. Need to adapt Fraction and Polynom now 2015-02-26 19:02:20 +01:00
Lafrite
d88c8ff738 Start working on parent class: Renderable_expression and
Computable_expression
2015-02-25 15:23:01 +01:00
Lafrite
f400582c5b What I want start to sound cool 2015-02-25 15:06:31 +01:00
Lafrite
26838c7b0a Explain how I want my program to work 2015-02-25 14:54:44 +01:00
Lafrite
12af21b2a6 add less verbose in Todolist 2015-02-25 11:24:48 +01:00
Lafrite
2763e46fab Remove bugs from .gitignore and add a new bug 2015-02-25 10:44:50 +01:00
Lafrite
c21509657a tbl_variation for Polynom_deg2 2015-02-25 10:32:27 +01:00
Lafrite
de338e914f Add alpha and beta method to polynomDeg2 2015-02-25 10:23:24 +01:00
Lafrite
720eb37a4f Remove bugs from .gitignore and add a new bug 2015-02-25 10:17:01 +01:00
Lafrite
6a605eea19 Add remark about tbl sgn and varia 2015-02-25 09:50:06 +01:00
Lafrite
324dfab817 roots and start tbl_sgn 2015-02-25 09:18:18 +01:00
Lafrite
6053f9ba94 Merge branch 'polynom' into 2nd_deg 2015-02-24 18:17:28 +01:00
Lafrite
5bbf535756 Start doc on polynoms 2015-02-21 11:27:02 +01:00
Lafrite
c55f127a3c Remove print cache 2015-02-21 11:20:42 +01:00
Lafrite
da6a43364b New way for random build polynoms 2015-02-21 11:01:34 +01:00
Lafrite
9649a0dbaf start working on deg 2 polynoms 2015-01-23 17:19:14 +01:00
Lafrite
f00d8c9e57 mod fraction simplify test 2015-01-09 13:15:57 +01:00
Lafrite
61bc284805 Merge branch 'fraction' into dev 2014-12-28 10:48:29 +01:00
Lafrite
02df267acf Adapt Fraction with Expression.tmp_render 2014-12-28 10:47:19 +01:00
Lafrite
8881a15c9b Adapt Polynom with Expression.tmp_render env 2014-12-28 10:28:31 +01:00
Lafrite
48c2c1dc78 new classmethod for Expression tmp_render which is used with "with" 2014-12-28 10:25:21 +01:00
Lafrite
35f2b46521 mod div priority 2014-12-27 16:48:32 +01:00
Lafrite
694cda47ca add random_str to create random string 2014-12-27 16:32:44 +01:00
Lafrite
f67e0541b8 finish first part of tutorial 2014-12-27 16:11:48 +01:00
Lafrite
c5f7119029 Merge branch 'dev' into documentation 2014-12-27 16:06:07 +01:00
Lafrite
30f9554ff2 modernize Fraction and add doctests 2014-12-27 16:04:30 +01:00
Lafrite
dfb056e1cf change simplify in expression test 2014-12-27 15:47:55 +01:00
Lafrite
d3c1aaa9a1 write documentation (random_Expression hasn't been touch yet) 2014-12-27 07:37:49 +01:00
Lafrite
ffe3b628ea correct tests in test_str2tokens 2014-12-23 14:29:39 +01:00
Lafrite
74b463d2af add Docstring for postfix in Polynom and solve bug with - and list 2014-12-23 10:55:18 +01:00
Lafrite
f301b7f0ae oups just sth had been pasted 2014-12-23 10:39:31 +01:00
Lafrite
3f7cac0ddc Comment in AttributeError for __pw__ 2014-12-23 10:34:51 +01:00
Lafrite
e6170fab97 doctest and improve display for powers and mul in polynom 2014-12-23 10:32:15 +01:00
Lafrite
1f86b234ea change str to self.STR_RENDER in Expression.simplify 2014-12-23 10:07:36 +01:00
Lafrite
5b4ef79982 add deco power_cache for __pw__ of polynom 2014-12-22 20:42:18 +01:00
Lafrite
eabe3e9a8e add overload ^ and ** for fractions 2014-12-22 19:56:58 +01:00