Updates:
Labels: NeedsReview
Comment #3 on issue 1495 by smichr: minus problem
http://code.google.com/p/sympy/issues/detail?id=1495
I've pushed to smichr on github a version with changes to simplify,
could_extract_minus, extract_multiplicatively, (and fastlog). I fixed the
infinite
recursion problem and added a couple of tests. Some of the tests failed
because now
there is a different ordering of terms in a solution (e.g. (b-a)/(d-c)
instead of
(a-b)/(c-d) sorts of things) so I changed those tests, otherwise everything
is the
same, I believe.
The issue of how -x*(-2*a*x - 2*x**3) is presented canonically hasn't been
solved: it
still doesn't appear as x*(2*a*x+2*x**3) on its own. And when you simplify
it, you get:
###
>>> simplify(-x*(-2*a*x - 2*x**3))
2*a*x**2 + 2*x**4
###
coverage is a pretty cool tool!
Here are some "breadcrumbs" from my use of it on Windows XP:
============================
= I used the windows installer to install Coverage 3.01
= I made a copy of the __init__.py file, in the site-packages\coverage
folder, and
named it __main__.py
= in a cmd window while located in a git repository of sympy at path
sympy/sympy:
\python26\python.exe ..\bin\coverage_report.py sympy/core
^__ this line runs the coverage_report on everything in sympy/core,
creating a
report in ..
\python26\python.exe ..\bin\test sympy
^__ this runs ALL the tests.
/c
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en
-~----------~----~----~----~------~----~------~--~---