Commit Graph

139 Commits

Author SHA1 Message Date
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 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 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 c8261eb642 add str in render 2014-02-25 16:52:18 +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 6509e0164a Add __eq__ in fraction 2014-02-21 18:02:34 +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 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
lafrite d566867ae8 not very good render especially with negativ numbers... but can work 2014-02-21 06:51:37 +01:00
lafrite cb198eb5f0 improve printing ofr FormalExp 2014-02-21 06:51:36 +01:00
lafrite eece262566 parsing and rendering "^" done.Computing with integer too 2014-02-21 06:51:36 +01:00
lafrite 5a8da2f470 modif for be able to use it for first big use 2014-02-21 06:50:34 +01:00
lafrite 9ec684477f Expression handle ":" but can't simplify with it yet 2014-02-21 06:48:15 +01:00
lafrite 5799d9a48d render accept ":" 2014-02-21 06:47:35 +01:00
lafrite 52ee73c340 Integrate exp and render into random_expression 2014-02-21 06:47:08 +01:00
lafrite d74e18b663 Change ** to ^ and mod test in render 2014-02-21 06:43:57 +01:00
lafrite 9b104f020f formal multiplication done, need to simplify keys 2014-02-21 06:43:34 +01:00
lafrite c5300991d5 Dictionary convolution 2014-02-21 06:39:54 +01:00
lafrite 2ffce67867 formal (which should be called polynom...) are ok.No mult yet 2014-02-21 06:37:22 +01:00
lafrite b0a60f706b Render ~work with letters still some bugs 2014-02-21 06:34:17 +01:00
Lafrite 4834186bec Packaging files 2014-02-21 06:29:58 +01:00