Lafrite
|
0b89bb1bbf
|
forgot to save...
|
2015-04-23 15:56:08 +02:00 |
|
Lafrite
|
3664a2e135
|
implement Fake_int to solve bug with explain
|
2015-04-23 15:56:08 +02:00 |
|
Lafrite
|
64d5bed8fe
|
All tests pass :D
|
2015-04-23 15:56:08 +02:00 |
|
Lafrite
|
7987f3f1be
|
add debug tool
|
2015-04-23 15:56:08 +02:00 |
|
Lafrite
|
00c327a52f
|
solve bug with double simplifyon beta
|
2015-04-23 15:56:08 +02:00 |
|
Lafrite
|
d95b520ba0
|
I feel like I have solve the bug! Need to adapt doctest and tests now
|
2015-04-23 15:56:08 +02:00 |
|
Lafrite
|
9d7f43bb20
|
try to find the bug...
|
2015-04-23 15:56:08 +02:00 |
|
Lafrite
|
a543602d26
|
remove space in new_s==old_s if they are sting for explicable
|
2015-04-23 15:56:08 +02:00 |
|
Lafrite
|
f5df2b6e9d
|
use sympy to compute root of polynomDeg2
|
2015-04-23 15:56:08 +02:00 |
|
Lafrite
|
8ffdfbdcaf
|
lastbug with facto?
|
2015-04-23 15:56:08 +02:00 |
|
Lafrite
|
983bc0fdc2
|
solve bugs with poly_facto still one!
|
2015-04-23 15:56:08 +02:00 |
|
Lafrite
|
df305d0e0d
|
Polynom factory to produce Deg 2 poly!
|
2015-04-23 15:56:08 +02:00 |
|
Lafrite
|
b4064dff00
|
split polynom with abstract_polynom
|
2015-04-23 15:56:08 +02:00 |
|
Lafrite
|
4a8f9daf14
|
corr bug with reduce in polynom
|
2015-04-23 15:56:08 +02:00 |
|
Lafrite
|
c4cb2fb859
|
Add a todo
|
2015-04-23 15:56:08 +02:00 |
|
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
|
509fd6e409
|
add some test for operators
|
2015-04-23 15:56:08 +02:00 |
|
Lafrite
|
b0e506897a
|
change op.add and op.sub for better - management
|
2015-04-23 15:56:07 +02:00 |
|
Lafrite
|
b508a8afb4
|
all tested are passed! :D
|
2015-03-10 14:04:04 +01:00 |
|
Lafrite
|
8b79fbbace
|
solve issues with () for add and mul
|
2015-03-10 11:59:27 +01:00 |
|
Lafrite
|
097ad25fe2
|
solve bug with - and ()
|
2015-03-08 23:56:59 +01:00 |
|
Lafrite
|
c391c8e084
|
Merge branch '2nd_deg' into operator
|
2015-03-08 23:48:40 +01:00 |
|
Lafrite
|
93a8c45c5b
|
Merge branch 'dev' into operator
|
2015-03-08 23:44:55 +01:00 |
|
Lafrite
|
9a7f0da24e
|
add ggive_name method to polynom
|
2015-03-08 23:40:15 +01:00 |
|
Lafrite
|
68f6cb32d4
|
Give a name to polynomDeg2
|
2015-03-08 19:05:15 +01:00 |
|
Lafrite
|
285b71d2da
|
Merge branch 'dev' into 2nd_deg
|
2015-03-08 18:56:59 +01:00 |
|
Lafrite
|
9ddb015a87
|
Add a name to polynoms
|
2015-03-08 18:51:53 +01:00 |
|
Lafrite
|
d503db6cef
|
add doctest and unittest for render
|
2015-03-07 20:04:16 +01:00 |
|
Lafrite
|
cdfd70d3f3
|
solve render bug with (..) - (..) to .. - (..)
|
2015-03-07 19:35:34 +01:00 |
|
Lafrite
|
c00c0a86cc
|
add_parenthesis to l_parenthesis and r_parenthesis
|
2015-03-07 19:26:26 +01:00 |
|
Lafrite
|
e031f9b903
|
reset priorities
|
2015-03-07 18:23:10 +01:00 |
|
Lafrite
|
374f0bc07e
|
change mainOp in polynom
|
2015-03-07 18:22:46 +01:00 |
|
Lafrite
|
4296242afd
|
mod __tex__ and __txt__ for Polynom
|
2015-03-07 11:05:15 +01:00 |
|
Lafrite
|
6e1783da43
|
solve bug with * and ** and polynom of high degree
|
2015-03-07 09:15:38 +01:00 |
|
Lafrite
|
c1c71a4a6a
|
add tbl_sgn_header
|
2015-03-06 18:13:51 +01:00 |
|
Lafrite
|
c0da21c705
|
Merge branch 'dev' into 2nd_deg
|
2015-03-06 17:44:16 +01:00 |
|
Lafrite
|
cd911a5513
|
derivate polynom
|
2015-03-06 17:00:09 +01:00 |
|
Lafrite
|
0423cca5aa
|
change coef to coefs in Polynom
|
2015-03-06 16:51:43 +01:00 |
|
Lafrite
|
b6eccba836
|
adapt polynomDeg2 to new explain style
|
2015-03-06 14:43:09 +01:00 |
|
Lafrite
|
b7156a5ac4
|
Merge branch 'dev' into 2nd_deg
|
2015-03-06 14:36:17 +01:00 |
|
Lafrite
|
9ffde06b9c
|
all are passed :DDD
|
2015-02-28 23:13:51 +01:00 |
|
Lafrite
|
316b8bf52b
|
mod all ini_step in Polynom. It solve bug with eval poly
|
2015-02-28 23:11:04 +01:00 |
|
Lafrite
|
cba821660a
|
mod all ini_step in fraction
|
2015-02-28 23:08:41 +01:00 |
|
Lafrite
|
20c9c20836
|
Enable to initialize Expression with Expression
|
2015-02-28 23:02:41 +01:00 |
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
30f9554ff2
|
modernize Fraction and add doctests
|
2014-12-27 16:04:30 +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 |
|
Lafrite
|
5cba9763e4
|
overload ^ and ** for monoms
|
2014-12-22 15:54:07 +01:00 |
|
Lafrite
|
f64ad83faf
|
think it's important but can't remember...
|
2014-12-22 15:31:00 +01:00 |
|
Lafrite
|
457896c847
|
save letter in generated Polynoms
|
2014-12-22 15:30:07 +01:00 |
|
Lafrite
|
af18870786
|
solve bug with the changing render in polynom
|
2014-12-22 15:22:51 +01:00 |
|
Lafrite
|
c35ca2f2a8
|
solve bug in polynom with 0 and reduce
|
2014-12-22 14:20:56 +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
|
8dd90bc85a
|
change way to build fake
|
2014-12-22 11:53:32 +01:00 |
|
Lafrite
|
d2928a38d2
|
numerand spelling...
|
2014-12-22 11:46:42 +01:00 |
|
Lafrite
|
7d26fd722a
|
add isNumerande into generic
|
2014-12-22 11:44:14 +01:00 |
|
Lafrite
|
4c7ede0956
|
fake_str in expression
|
2014-12-22 11:21:58 +01:00 |
|
Lafrite
|
1ae92b22f5
|
str2tokens handle polynoms
|
2014-12-22 10:57:18 +01:00 |
|
Lafrite
|
895c8ed145
|
isPolynom move to generic
|
2014-12-22 10:50:34 +01:00 |
|
Lafrite
|
b5db3df0ec
|
isPolynom move to generic
|
2014-12-22 10:50:14 +01:00 |
|
Lafrite
|
4b5dabd12c
|
__eq__ return false if other can't be converted to polynom
|
2014-12-22 10:31:05 +01:00 |
|
Lafrite
|
d5d889eeb0
|
try evaluate polynoms with other polynoms
|
2014-12-22 10:13:20 +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
|
2bbe6eca7d
|
eval polynom but does not work with constant polynoms. Need unittest
|
2014-12-21 18:03:22 +01:00 |
|
Lafrite
|
a38ba53577
|
sove bug with negative fractions display
|
2014-12-21 16:04:44 +01:00 |
|
Lafrite
|
e3d1870d33
|
Add exception for invalid expression
|
2014-12-21 16:03:53 +01:00 |
|
Lafrite
|
027a3ac57a
|
solve bug with simplify fraction (which has not be simplified)
|
2014-12-21 15:03:56 +01:00 |
|
Lafrite
|
2425a2dfca
|
solve issue wit - and polynoms
|
2014-12-21 08:53:10 +01:00 |
|
Lafrite
|
8f4d63595d
|
solve issue with - and polynoms
|
2014-12-20 20:36:15 +01:00 |
|
Lafrite
|
a77d779a22
|
no expression with last elem of Expression.simplify
|
2014-12-20 18:48:51 +01:00 |
|
Lafrite
|
dbe382f892
|
postfix in postfix change + to -
|
2014-12-20 17:42:31 +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
|
6ca79a4e69
|
random classmethod for polynoms
|
2014-12-19 17:29:12 +01:00 |
|
Lafrite
|
adce8e1348
|
Random classmethod for polynom
|
2014-12-19 17:17:25 +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
|
edae08d3bc
|
add doctest operator
|
2014-12-03 16:25:02 +01:00 |
|
lafrite
|
ffd2a55b65
|
add doctest in random_expression
|
2014-12-03 15:52:08 +01:00 |
|
lafrite
|
ff605c87cb
|
okfor doctest
|
2014-12-02 14:31:27 +01:00 |
|
lafrite
|
543af69979
|
Doctest and bugs in str2tokens
|
2014-12-02 12:37:23 +01:00 |
|
lafrite
|
e1da8d2453
|
operator selector
|
2014-12-02 11:32:59 +01:00 |
|
lafrite
|
cecf06e082
|
inside doctest works not unittest
|
2014-12-02 11:06:29 +01:00 |
|
Lafrite
|
cccfb9e90b
|
does not work..
|
2014-12-02 10:05:02 +01:00 |
|
lafrite
|
8485890fdf
|
test with no * between number and letter - doctest in operator
|
2014-11-25 10:46:00 +01:00 |
|
Lafrite
|
6d8d72cdff
|
start particularising operators
|
2014-11-24 07:17:51 +01:00 |
|
Lafrite
|
39cc36869c
|
change parse in random_expression
|
2014-11-23 10:45:13 +01:00 |
|
Lafrite
|
7be7f82ba9
|
set default render for random_expression
|
2014-11-21 17:21:12 +01:00 |
|
Lafrite
|
3b5583bd61
|
Nice way for setting render <3
|
2014-11-21 15:49:43 +01:00 |
|
Lafrite
|
12bcf7214a
|
solve stupid bug in spe_zip
|
2014-11-15 10:03:29 +01:00 |
|
lafrite
|
1fac2cc29e
|
Poly works! Everything was fraction fault!!
|
2014-11-14 17:01:30 +01:00 |
|
lafrite
|
057cbaeab7
|
debug fraction hope it's last bug...
|
2014-11-14 17:00:26 +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
|
e93e14133d
|
reduce give list (not generator any more) big issue with render!!
|
2014-11-11 21:51:03 +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
|
693c982cbe
|
create a list of operator
|
2014-11-11 20:35:30 +01:00 |
|
lafrite
|
4920bbd27d
|
start adapting polynom
|
2014-11-11 16:52:30 +01:00 |
|
lafrite
|
73e6c74c72
|
import old polynom and test_polynom from polynom branch
|
2014-11-11 11:06:17 +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
|
633e6b4e2c
|
debug str2tokens
|
2014-11-11 09:33:31 +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
|
41aa8dfb11
|
switch op1 and op2 to respect operand order
|
2014-11-09 11:23:02 +01:00 |
|
lafrite
|
6618e9d85d
|
Forgot to save mainOp
|
2014-11-09 10:39:24 +01:00 |
|
lafrite
|
3d7018c2c7
|
Operator knows how to be printed
|
2014-11-09 10:35:49 +01:00 |
|
lafrite
|
565a4d3632
|
adapt Expression with the split. tests achieved
|
2014-11-08 18:15:04 +01:00 |
|