Commit Graph

62 Commits

Author SHA1 Message Date
Lafrite
531f88d1d1 remove commented test 2015-04-23 15:56:08 +02:00
Lafrite
b1c3c3564e finaly finish to implement simplify and explain 2015-04-23 15:56:08 +02:00
Lafrite
437066e8e6 remove some commented lines 2015-04-23 15:56:08 +02:00
Lafrite
a2041fd451 solve issue with explain and wrong steps 2015-04-23 15:56:08 +02:00
Lafrite
9ffde06b9c all are passed :DDD 2015-02-28 23:13:51 +01:00
Lafrite
20c9c20836 Enable to initialize Expression with Expression 2015-02-28 23:02:41 +01:00
Lafrite
506045a670 Solve bug with context manager 2015-02-27 17:46:16 +01:00
Lafrite
03499439dd rdiv -> rtruediv in expression 2015-02-27 16:56:43 +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
6d8b1786b3 explain works for Expression. Need to adapt Fraction and Polynom now 2015-02-26 19:02:20 +01:00
Lafrite
48c2c1dc78 new classmethod for Expression tmp_render which is used with "with" 2014-12-28 10:25:21 +01:00
Lafrite
1f86b234ea change str to self.STR_RENDER in Expression.simplify 2014-12-23 10:07:36 +01:00
Lafrite
f64ad83faf think it's important but can't remember... 2014-12-22 15:31:00 +01:00
Lafrite
7498127e48 indent error in expression 2014-12-22 14:17:12 +01:00
Lafrite
2de1b1add8 mod expression with operands 2014-12-22 14:14:37 +01:00
Lafrite
4c7ede0956 fake_str in expression 2014-12-22 11:21:58 +01:00
Lafrite
f6739f8c7c Expression can create fake in with simplify and simplified methods 2014-12-22 09:38:51 +01:00
Lafrite
981c8db0e5 Add compute_exp in simplified 2014-12-21 19:13:52 +01:00
Lafrite
108c794a04 solve bug with expression like [2, op.sub1] 2014-12-21 19:03:44 +01:00
Lafrite
cd6e8c5ca3 docstring of __str__ in Expression 2014-12-21 18:26:05 +01:00
Lafrite
a4a58f05a0 solve bug in polynom with Expression.set_render 2014-12-21 18:22:33 +01:00
Lafrite
a77d779a22 no expression with last elem of Expression.simplify 2014-12-20 18:48:51 +01:00
Lafrite
096e025302 Merge branch 'dev' into polynom 2014-12-20 17:26:49 +01:00
Lafrite
9dbe971cd1 add __getitem__ and __setitem__ to Expression 2014-12-20 16:52:45 +01:00
Lafrite
1acf73c598 Change set_df_render to set_default_render 2014-12-20 16:43:58 +01:00
Lafrite
d817002430 random expression is now a Expression classmethod 2014-12-19 16:45:22 +01:00
Lafrite
5df17b4779 dd simplified method for Expression 2014-12-19 15:42:37 +01:00
lafrite
ff605c87cb okfor doctest 2014-12-02 14:31:27 +01:00
Lafrite
3b5583bd61 Nice way for setting render <3 2014-11-21 15:49:43 +01:00
lafrite
c30fd89282 add operation for expression 2014-11-14 16:48:38 +01:00
lafrite
895408109d mod fraction to work with operations and fix render in Expression 2014-11-14 16:20:02 +01:00
lafrite
c82e6c9a44 Calculus for poly is ok need to adapt test and there is big bug with
unify render!
2014-11-11 21:45:24 +01:00
lafrite
2b67fc682c Reduce and print poly ok! 2014-11-11 21:00:45 +01:00
lafrite
80261d97d3 expression and test 2014-11-11 09:58:47 +01:00
lafrite
9c868b4e79 Add list of operators in operator.py (may need to change the form 2014-11-11 09:44:39 +01:00
lafrite
d615214c35 replace renders to render in every files 2014-11-11 08:29:19 +01:00
lafrite
2132c2ba59 New render seems to be ok some debuging still have to be done 2014-11-09 12:06:31 +01:00
lafrite
565a4d3632 adapt Expression with the split. tests achieved 2014-11-08 18:15:04 +01:00
lafrite
a32fc4b892 Merge branch 'arity' into rewrite
Conflicts:
	pymath/expression.py
2014-11-08 16:46:38 +01:00
lafrite
825e861366 Start spliting exp 2014-11-08 16:43:04 +01:00
Lafrite
9b1ad5c14a Adapt unit test to Operator. Still have to includ fractions 2014-11-02 11:12:47 +01:00
Lafrite
6e99dadd39 Create real class Operator and include it into expression (need to fix
render now)
2014-11-02 08:19:31 +01:00
Lafrite
4630d0de74 Definively finished arity setup 2014-10-23 13:13:28 +02:00
Lafrite
cdf5a552b2 arity is fine now! 2014-10-23 12:59:21 +02:00
Lafrite
62549d2e10 new class for operator and include it into expression.in2post_fix 2014-10-18 19:04:40 +02:00
Lafrite
eb1088d31f Solve bug with simplification of fractions 2014-09-02 11:44:04 +02:00
Lafrite
412149f22d Finish unify_render! :D and even mod the doc 2014-08-29 17:15:29 +02:00
Lafrite
71b4c987ec Change to unify renders between Expression and random_expression 2014-08-29 16:35:38 +02:00
Lafrite
f04d926031 change tex_render into tex and same for txt 2014-05-28 20:42:19 +02:00