Status: New
Owner:
Labels: Type-Defect Priority-Medium
New issue 1904 by alberthilbert: Error in evaluation of power with
noncommutative base
http://code.google.com/p/sympy/issues/detail?id=1904
Power with noncommutative Mul as base are treated like it was commutative:
x = Symbol('x',
Comment #1 on issue 1904 by alberthilbert: Error in evaluation of power
with noncommutative base
http://code.google.com/p/sympy/issues/detail?id=1904
The following patch should solve that problem.
Raffaele
Attachments:
0001-Fix-evaluation-of-power-with-noncommutative-Mul-as-b.patch
Status: New
Owner:
Labels: Type-Defect Priority-Medium
New issue 1905 by jdeko...@hotmail.com: Differentiation and Geometric
Algebra
http://code.google.com/p/sympy/issues/detail?id=1905
Two different ways to do the same thing don't give the same result.
Here is the code sample in order
Updates:
Labels: -NeedsReview PassedReview NeedsBetterPatch
Comment #11 on issue 700 by asmeurer: pretty: merge test_pretty.py &
test_pretty_unicode.py
http://code.google.com/p/sympy/issues/detail?id=700
The log message needs to be line wrapped, but other than that, this looks
good.
Updates:
Status: Duplicate
Labels: NeedsReview
Mergedinto: 1261
Comment #2 on issue 1904 by asmeurer: Error in evaluation of power with
noncommutative base
http://code.google.com/p/sympy/issues/detail?id=1904
Hi. This patch looks good, but this is a duplicate of issue
Updates:
Cc: abro...@verizon.net
Comment #1 on issue 1905 by asmeurer: Differentiation and Geometric Algebra
http://code.google.com/p/sympy/issues/detail?id=1905
(No comment was entered for this change.)
--
You received this message because you are listed in the owner
or CC fields of th
Comment #26 on issue 1261 by asmeurer: incorrect exponentiation with
non-commutative symbols
http://code.google.com/p/sympy/issues/detail?id=1261
Issue 1904 has been merged into this issue.
--
You received this message because you are listed in the owner
or CC fields of this issue, or becaus
Status: Accepted
Owner: smichr
Labels: Type-Defect Priority-Medium
New issue 1906 by smichr: loading sympy fails in python 2.4 under windows
http://code.google.com/p/sympy/issues/detail?id=1906
PythonWin 2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC v.1310 32 bit (Intel)] on
win32.
Portions Copyright
Comment #27 on issue 1261 by alberthilbert: incorrect exponentiation with
non-commutative symbols
http://code.google.com/p/sympy/issues/detail?id=1261
The following patch should solve that problem.
Raffaele
Attachments:
0001-Fix-evaluation-of-power-with-noncommutative-Mul-as-b.patc
Comment #3 on issue 1904 by alberthilbert: Error in evaluation of power
with noncommutative base
http://code.google.com/p/sympy/issues/detail?id=1904
Yes... Done!
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
Y
Updates:
Labels: -NeedsBetterPatch NeedsReview
Comment #28 on issue 1261 by asmeurer: incorrect exponentiation with
non-commutative symbols
http://code.google.com/p/sympy/issues/detail?id=1261
(No comment was entered for this change.)
--
You received this message because you are list
Comment #3 on issue 1902 by smichr: 'has' method fails when argument
is 'Symbol' or 'Wild'
http://code.google.com/p/sympy/issues/detail?id=1902
Perhaps you are confusing atoms() with has(). has() is suppose to look for
patterns
while atoms() will give sub-expressions of a given type (and it
Comment #12 on issue 700 by Toon.Verstraelen: pretty: merge test_pretty.py
& test_pretty_unicode.py
http://code.google.com/p/sympy/issues/detail?id=700
please read:
http://www.kernel.org/pub/software/scm/git/docs/user-manual.html#creating-good-commit-messages
--
You received this message bec
Comment #1 on issue 1906 by mattpap: loading sympy fails in python 2.4
under windows
http://code.google.com/p/sympy/issues/detail?id=1906
Can you issue 'import fractions' in this interpreter. In algebratools.py
there is a
piece of code which checks if 'fractions' module is available, and if
Updates:
Labels: -NeedsReview PassedReview
Comment #29 on issue 1261 by Vinzent.Steinberg: incorrect exponentiation
with non-commutative symbols
http://code.google.com/p/sympy/issues/detail?id=1261
Thank you, the patch looks fine, it fixes the problem and all tests pass. +1
Would it
Comment #30 on issue 1261 by asmeurer: incorrect exponentiation with
non-commutative symbols
http://code.google.com/p/sympy/issues/detail?id=1261
Indeed, 10x faster:
In [1]: a = S(1)
In [2]: %timeit a == S.One
100 loops, best of 3: 4.21 us per loop
In [3]: %timeit a is S.One
100 lo
Comment #13 on issue 700 by Toon.Verstraelen: pretty: merge test_pretty.py
& test_pretty_unicode.py
http://code.google.com/p/sympy/issues/detail?id=700
First of all: this is a nice patch carefully put together. Just a few very
minor
comments:
- In def test_pretty_ascii_str() and def test_
Updates:
Labels: Polynomial
Comment #5 on issue 1900 by Vinzent.Steinberg: factor((1+2*x+x**2)**100)
works too hard
http://code.google.com/p/sympy/issues/detail?id=1900
(No comment was entered for this change.)
--
You received this message because you are listed in the owner
or CC fi
Comment #2 on issue 1411 by Vinzent.Steinberg: Make fancy latex printing
work within the Sage notebook
http://code.google.com/p/sympy/issues/detail?id=1411
Wasn't this implemented in master already? See commit
8d3d2eb3b89f7c6efb9fdbef62530394953ee0ce.
--
You received this message because you
Comment #31 on issue 1261 by mattpap: incorrect exponentiation with
non-commutative symbols
http://code.google.com/p/sympy/issues/detail?id=1261
This is a reason for having singleton objects (S). We could use a == 1 as
well, but
guess what would be the implications. If [2] is used in heavy
Updates:
Status: Fixed
Comment #3 on issue 1411 by asmeurer: Make fancy latex printing work within
the Sage notebook
http://code.google.com/p/sympy/issues/detail?id=1411
Yep, the issue number was even listed as the subject line of the message to
the patches list:
http://groups.goog
Updates:
Cc: Ronan.Lamy
Comment #8 on issue 1551 by Vinzent.Steinberg: StrPrinter is class
sympy.printing.str and instance in sympy.core.basic
http://code.google.com/p/sympy/issues/detail?id=1551
Ronan should review this, as he requested the changes.
--
You received this message beca
Updates:
Status: Started
Comment #4 on issue 1411 by ellisonbg: Make fancy latex printing work
within the Sage notebook
http://code.google.com/p/sympy/issues/detail?id=1411
This patch only fixed part of the problem, namely renaming _latex_ ->
_latex. But, there is a second part tha
Comment #3 on issue 1903 by Vinzent.Steinberg: Unify Assume keys, ask keys
and ask handlers
http://code.google.com/p/sympy/issues/detail?id=1903
Not simply, because Q.complex is still an ordinary object, not a class or
a function.
Can't we just assign the __doc__ attribute?
+return e
Updates:
Cc: ondrej.certik Ronan.Lamy
Comment #17 on issue 415 by Vinzent.Steinberg: sqrt(6)/2*sqrt(2) does not
auto-simplify properly
http://code.google.com/p/sympy/issues/detail?id=415
So it is up to 2.2 times slower with your change, but correct. I'm fine
with this,
but don't kno
Comment #2 on issue 1906 by smichr: loading sympy fails in python 2.4 under
windows
http://code.google.com/p/sympy/issues/detail?id=1906
yes...I saw that you had a flag for that and tried it:
C:\Documents and Settings\chris>\python24\python.exe
Python 2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC
Updates:
Labels: EasyToFix
Comment #5 on issue 1411 by Vinzent.Steinberg: Make fancy latex printing
work within the Sage notebook
http://code.google.com/p/sympy/issues/detail?id=1411
Which should be trivial to fix.
--
You received this message because you are listed in the owner
or C
Comment #3 on issue 1906 by Vinzent.Steinberg: loading sympy fails in
python 2.4 under windows
http://code.google.com/p/sympy/issues/detail?id=1906
This is strange, the fractions module is new in Python 2.6. What does your
version
actually implement? (help(fractions))
--
You received this
Updates:
Status: Invalid
Comment #4 on issue 1906 by smichr: loading sympy fails in python 2.4 under
windows
http://code.google.com/p/sympy/issues/detail?id=1906
mea culpa. The help shows that it is my own file in site-packages that is
being loaded.
False alarm.
--
You received t
Updates:
Status: Fixed
Comment #32 on issue 1261 by Vinzent.Steinberg: incorrect exponentiation
with non-commutative symbols
http://code.google.com/p/sympy/issues/detail?id=1261
If fixed the patch to use 'is' and pushed it in. For the fixing a new issue
should be
opened. It might ma
Status: Accepted
Owner: Vinzent.Steinberg
CC: smichr
Labels: Type-Defect Priority-Medium
New issue 1907 by Vinzent.Steinberg: Pow(..., evaluate=something) is broken
http://code.google.com/p/sympy/issues/detail?id=1907
In [11]: Add(Pow(y, 2, evaluate=True), Mul(-1, Pow(y, 2)))
Out[11]:
22
y
Comment #1 on issue 1907 by mattpap: Pow(..., evaluate=something) is broken
http://code.google.com/p/sympy/issues/detail?id=1907
It's all about the old assumptions engine:
In [1]: Pow(y, 2, evaluate=True)
Out[1]:
2
y
In [2]: _._assumptions
Out[2]: {evaluate: True}
The _assumptions property i
Comment #2 on issue 1907 by ronan.l...@gmail.com: Pow(...,
evaluate=something) is broken
http://code.google.com/p/sympy/issues/detail?id=1907
The exception seen comes more precisely from:
In [4]: Pow(y, 2, evaluate=False).is_commutative
---
Comment #18 on issue 415 by asmeurer: sqrt(6)/2*sqrt(2) does not
auto-simplify properly
http://code.google.com/p/sympy/issues/detail?id=415
Mul only reflattens when it needs to, that is, when it can potentially pull
out a constant from a power. As I noted
in the commit message, a simple pr
Comment #3 on issue 1907 by asmeurer: Pow(..., evaluate=something) is broken
http://code.google.com/p/sympy/issues/detail?id=1907
The is_commutative AttributeError is a duplicate of issue 1864.
--
You received this message because you are listed in the owner
or CC fields of this issue, or becau
Comment #2 on issue 1905 by abro...@verizon.net: Differentiation and
Geometric Algebra
http://code.google.com/p/sympy/issues/detail?id=1905
Both diff(y,x) and exp(y) are not defined in the galgebra module for y a
multivector.
If y is a multivector and y*y is a scalar then exp(y) can be expr
Comment #4 on issue 1864 by ronan.l...@gmail.com: AttributeError:
is_commutative with Mul(Pow(2, 2, evaluate=False), 3, evaluate=False) + 1
http://code.google.com/p/sympy/issues/detail?id=1864
Issue 1907 has been merged into this issue.
--
You received this message because you are listed in
Updates:
Status: Duplicate
Mergedinto: 1864
Comment #4 on issue 1907 by ronan.l...@gmail.com: Pow(...,
evaluate=something) is broken
http://code.google.com/p/sympy/issues/detail?id=1907
Then this issue is an exact duplicate of issue 1864: the .is_commutative
issue is the
on
Updates:
Labels: EasyToFix Milestone-Release0.7.0
Comment #5 on issue 1864 by ronan.l...@gmail.com: AttributeError:
is_commutative with Mul(Pow(2, 2, evaluate=False), 3, evaluate=False) + 1
http://code.google.com/p/sympy/issues/detail?id=1864
From issue 1907:
The exception seen comes
Updates:
Labels: -NeedsBetterPatch
Comment #14 on issue 700 by kazuo.thow: pretty: merge test_pretty.py &
test_pretty_unicode.py
http://code.google.com/p/sympy/issues/detail?id=700
Thanks for pointing those things out; updated patch is attached.
Attachments:
0001-Merged-test_
Comment #2 on issue 1763 by ronan.l...@gmail.com: sympify(u"α") does not
work
http://code.google.com/p/sympy/issues/detail?id=1763
In my "code-refactor-3" branch, I bypass the encoding problem and get the
same error
as in the initial comment:
In [1]: sympify(u"α")
Updates:
Status: Accepted
Mergedinto: -1864
Comment #5 on issue 1907 by Vinzent.Steinberg: Pow(..., evaluate=something)
is broken
http://code.google.com/p/sympy/issues/detail?id=1907
The exception is covered by issue 1864, but not the problem in [11].
Please note that this wo
Updates:
Labels: -Priority-High -Milestone-Release0.7.0 Priority-Low
Milestone-Release0.8.0
Comment #3 on issue 1763 by asmeurer: sympify(u"α") does not work
http://code.google.com/p/sympy/issues/detail?id=1763
It isn't that important, and there is no point in refactoring the parser
when i
Comment #4 on issue 1902 by alberthilbert: 'has' method fails when argument
is 'Symbol' or 'Wild'
http://code.google.com/p/sympy/issues/detail?id=1902
From what I can see from source code, 'has' method accepts 'BasicType'
object as
parameter and return 'True' if 'self' contains some instanc
Comment #6 on issue 1907 by asmeurer: Pow(..., evaluate=something) is broken
http://code.google.com/p/sympy/issues/detail?id=1907
It think it's because Add cancels terms by creating a dictionary of
term:coeff pairs. So, x + y - x becomes {x:1},
then {x:1, y:1}, and finally, {x:1 - 1, y: 1} =
Comment #4 on issue 1763 by Vinzent.Steinberg: sympify(u"α") does not work
http://code.google.com/p/sympy/issues/detail?id=1763
There are several motivations to write an own parser: issue 871, issue 976
and issue 60.
--
You received this message because you are listed in the owner
or CC fiel
Updates:
Status: Fixed
Comment #15 on issue 700 by asmeurer: pretty: merge test_pretty.py &
test_pretty_unicode.py
http://code.google.com/p/sympy/issues/detail?id=700
It looks like you fixed everything that was noted here and on IRC, so I
pushed it in. Welcome to SymPy!
--
You re
Comment #5 on issue 1902 by Vinzent.Steinberg: 'has' method fails when
argument is 'Symbol' or 'Wild'
http://code.google.com/p/sympy/issues/detail?id=1902
I think this should work with Symbol() and Wild() too, for consistency's
sake.
--
You received this message because you are listed in
Status: Accepted
Owner:
CC: fab...@fseoane.net
Labels: Type-Enhancement Priority-Medium
New issue 1908 by Vinzent.Steinberg: mutable core
http://code.google.com/p/sympy/issues/detail?id=1908
This should result in a considerable speed improvement. I think it could be
done using a dict (or se
Comment #1 on issue 1908 by Vinzent.Steinberg: mutable core
http://code.google.com/p/sympy/issues/detail?id=1908
See also http://code.google.com/p/sympycore/, which probably implemented
this.
--
You received this message because you are listed in the owner
or CC fields of this issue, or beca
Updates:
Cc: fab...@fseoane.net
Comment #4 on issue 1903 by Vinzent.Steinberg: Unify Assume keys, ask keys
and ask handlers
http://code.google.com/p/sympy/issues/detail?id=1903
(No comment was entered for this change.)
--
You received this message because you are listed in the owner
Comment #3 on issue 1905 by abro...@verizon.net: Differentiation and
Geometric Algebra
http://code.google.com/p/sympy/issues/detail?id=1905
Also in your case gamma_x**2 = -1 so that exp(x*gamma_x) =
cos(x)+sin(x)*gamma_x and
d/dx(exp(x*gamma_x)) = -sin(x)+cos(x)*gamma_x. If gamma_x**2 = 1
Comment #7 on issue 1907 by smichr: Pow(..., evaluate=something) is broken
http://code.google.com/p/sympy/issues/detail?id=1907
But even if all terms have evaluate True, the expression may not go to zero:
Add(*[Pow(*[y,2],evaluate=True),
Mul(*[-1,Pow(*[y,2],evaluate=True)],evaluate=True)],eva
Updates:
Status: Fixed
Comment #6 on issue 1411 by Toon.Verstraelen: Make fancy latex printing
work within the Sage notebook
http://code.google.com/p/sympy/issues/detail?id=1411
Bug is fixed (see sympy-patches mail of Matt Curry.)
--
You received this message because you are listed i
Comment #2 on issue 1908 by fabian.seoane: mutable core
http://code.google.com/p/sympy/issues/detail?id=1908
You are very brave by opening this issue :-)
BTW, ginac uses lists in trees (which is similar to dicts, but not the
same):
http://www.ginac.de/tutorial/Internal-representation-of-pro
55 matches
Mail list logo