On Sun, Apr 4, 2010 at 11:34 PM, Øyvind Jensen jensen.oyv...@gmail.com wrote:
Well, I think it can be useful, especially since the commutative
property is lost if you do
s = Symbol(dummy.name, *dummy.assumptions0)
But of course, it should not go in if I am the only one who is going to
use
All right, lets drop it, no big deal.
Øyvind
On 5 apr, 19:25, Ondrej Certik ond...@certik.cz wrote:
On Sun, Apr 4, 2010 at 11:34 PM, Øyvind Jensen jensen.oyv...@gmail.com
wrote:
Well, I think it can be useful, especially since the commutative
property is lost if you do
s =
Well, I think it can be useful, especially since the commutative
property is lost if you do
s = Symbol(dummy.name, *dummy.assumptions0)
But of course, it should not go in if I am the only one who is going to
use it. I see your point about the need for a cleanup in the core :-P
Øyvind
ma.,
In situations where it is natural to generate dummy symbols with
Symbol.as_dummy(), the reverse process may also be useful.
Uncommented two tests for this.
---
sympy/core/symbol.py| 11 +++
sympy/core/tests/test_symbol.py |4 ++--
2 files changed, 13 insertions(+), 2
I also put these patches on github/fix_dummy
cheers!
Øyvind
On 31 Mar, 12:56, Øyvind Jensen jensen.oyv...@gmail.com wrote:
In situations where it is natural to generate dummy symbols with
Symbol.as_dummy(), the reverse process may also be useful.
Uncommented two tests for this.
---