Commit Graph

583 Commits

Author SHA1 Message Date
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
8eeaa80abe add *.egg-info/ in .gitignore 2014-08-29 15:58:40 +02:00
Lafrite
0fa194848d heu...
Conflicts:
	.gitignore
2014-07-14 16:11:16 +02:00
lafrite
b0ca85a029 forgot to mod rmul 2014-06-27 11:01:44 +02:00
lafrite
369c2cd77a improve add and mul fraction (special cases) 2014-06-27 10:31:10 +02:00
Lafrite
0ca7a9d0fb correct doc for renders name 2014-05-28 20:43:44 +02:00
Lafrite
f04d926031 change tex_render into tex and same for txt 2014-05-28 20:42:19 +02:00
Lafrite
7568b42fcc improve __mul__ in fraction: simplification inside mul 2014-05-28 20:00:39 +02:00
Lafrite
5f16cf7b62 debug simplify: issue when sign changes and need to make simplifications 2014-05-28 19:00:23 +02:00
Lafrite
43973a0039 simplify > < etc in fraction 2014-05-28 18:52:46 +02:00
Lafrite
2e80eabb33 simplify __r*__ in fraction 2014-05-28 18:49:19 +02:00
Lafrite
900bad53a3 create convert2fraction 2014-05-28 18:39:08 +02:00
Lafrite
8294eec62e some correction in tutorial 2014-02-28 20:45:25 +01:00
Lafrite
20033d69ce add doc and change version in setup.py 2014-02-28 16:19:42 +01:00
Lafrite
a61e3e86ee Merge branch 'dev'
Conflicts:
	pymath/expression.py
2014-02-28 14:18:51 +01:00
Lafrite
661498efcf add unittest for random_expression 2014-02-28 14:11:33 +01:00
Lafrite
193b050a09 Random_expression accept calc in conditions 2014-02-28 13:17:12 +01:00
Lafrite
bdad59ef8a Forgot to remove a isalpha 2014-02-28 13:16:57 +01:00
Lafrite
1aaecd4b84 Do not accept floating numbers 2014-02-28 11:34:31 +01:00
Lafrite
ae6664b7cf new unittest for expression 2014-02-28 10:31:56 +01:00
Lafrite
d67d68e080 spelling mistake in filename 2014-02-28 09:52:27 +01:00
Lafrite
09bbb04ab2 remove expressions with letters 2014-02-28 09:45:19 +01:00
Lafrite
ab83751e57 remove everything about polynoms 2014-02-28 09:43:54 +01:00
Lafrite
f444a58a2b Add abs method for Fraction 2014-02-28 08:49:03 +01:00
Lafrite
8631cfd349 add __all__ 2014-02-27 18:02:34 +01:00
Lafrite
232368fd75 bug and unittests for renders 2014-02-26 12:48:41 +01:00
Lafrite
1ecc25b9bf add last_elem 2014-02-26 12:39:38 +01:00
Lafrite
c420ef980b solve (-2) * ... parenthesis issue 2014-02-25 17:02:15 +01:00
Lafrite
bf7344c318 unittest for txt_render 2014-02-25 16:58:51 +01:00
Lafrite
c8261eb642 add str in render 2014-02-25 16:52:18 +01:00
Lafrite
ccd388c87c tex_render unittest need to debug now... 2014-02-25 16:39:03 +01:00
Lafrite
d393e1e794 debug texrenders but need unittest 2014-02-25 15:59:22 +01:00
Lafrite
3786bd5cf6 move formal to polynom and solve (I hope) consequences 2014-02-22 10:38:57 +01:00
Lafrite
2e417f3bef thanks to gcd beggug now tests on fractions work 2014-02-22 10:13:12 +01:00
Lafrite
c3a6628ae3 gcd works with negatives numbers and it is now tested 2014-02-22 10:12:05 +01:00
Lafrite
ceab817c28 new methods for Fraction __radd__ __rsub__ __r*__ 2014-02-22 07:23:42 +01:00
Lafrite
9dfc0b9c47 cleaning 2014-02-21 18:03:08 +01:00
Lafrite
88597369ea OK test need to make r* operations 2014-02-21 18:02:50 +01:00
Lafrite
6509e0164a Add __eq__ in fraction 2014-02-21 18:02:34 +01:00
Lafrite
49b224bedc start unittest for expression and fraction 2014-02-21 11:09:12 +01:00
Lafrite
8e86220b50 add float method in fraction 2014-02-21 11:08:55 +01:00
Lafrite
1abd903c9b Add case when numerator is 0 2014-02-21 11:05:25 +01:00
Lafrite
6e1ca2eff8 Start unittest for generic 2014-02-21 09:45:45 +01:00
Lafrite
ab903c368e renders for packaging 2014-02-21 06:51:37 +01:00
Lafrite
77da30d0b7 add a test 2014-02-21 06:51:37 +01:00
lafrite
e669e9707d allow raw string generation 2014-02-21 06:51:37 +01:00
lafrite
698fea5c63 generate letters can't be equal to 0 2014-02-21 06:51:37 +01:00