Updates:
Labels: NeedsReview
Comment #7 on issue 1985 by renato.c...@gmail.com: as_real_imag() gives
wrong answer when expanding quotient
http://code.google.com/p/sympy/issues/detail?id=1985
Ok, my first (naive) tries were very unsuccessful. It turns out ask() works
for simple
Comment #8 on issue 1985 by smichr: as_real_imag() gives wrong answer when
expanding quotient
http://code.google.com/p/sympy/issues/detail?id=1985
In github/smichr branch t (the one up for review) you will get:
import sympy as S
S.var('x')
x
e = (x+x*S.I)/(1+S.I)
e.as_real_imag()
Updates:
Labels: -EasyToFix NeedsReview
Comment #5 on issue 1975 by smichr: nsimplify() should be recursive
http://code.google.com/p/sympy/issues/detail?id=1975
Sorry about that...please see 1975 branch t at github/smichr
--
You received this message because you are subscribed to the
Comment #6 on issue 1975 by smichr: nsimplify() should be recursive
http://code.google.com/p/sympy/issues/detail?id=1975
and commit 1778 for the sympification rational=True option.
--
You received this message because you are subscribed to the Google Groups
sympy-issues group.
To post to this
Comment #9 on issue 1985 by renato.c...@gmail.com: as_real_imag() gives
wrong answer when expanding quotient
http://code.google.com/p/sympy/issues/detail?id=1985
Yes, it works too. It's almost the same thing, using expand(c_mul=True). I
missed that in the docs, and was a bit surprised when
Comment #2 on issue 1972 by smichr: Doctests in a module docstring are not
executed
http://code.google.com/p/sympy/issues/detail?id=1972
Nice catch. +1.
--
You received this message because you are subscribed to the Google Groups
sympy-issues group.
To post to this group, send email to
Updates:
Cc: Ronan.Lamy smichr Vinzent.Steinberg
Comment #10 on issue 1985 by asmeurer: as_real_imag() gives wrong answer
when expanding quotient
http://code.google.com/p/sympy/issues/detail?id=1985
So I was so convinced that my solution (refactoring expand(complex=True)
and
Comment #6 on issue 1978 by asmeurer: select whether constant gets
distributed into mul
http://code.google.com/p/sympy/issues/detail?id=1978
I'm not sure about this one. Let's see what others think. (I'm
referencing the 1978 commit in your t branch).
--
You received this message
Updates:
Labels: -NeedsReview PassedReview
Comment #7 on issue 1924 by asmeurer: Eq() gets .as_basic() method
http://code.google.com/p/sympy/issues/detail?id=1924
I am +1 on the change given in 799dbcb17ac243a791c8 (see github comments).
I do think that maybe as_basic() should be
Comment #5 on issue 1926 by asmeurer: ode tweaks
http://code.google.com/p/sympy/issues/detail?id=1926
See my comment on github. I am +1 on commit 0fcd2423eb1809a77330, except
that item 5c (4c in the commit message) should have a test, if I understand
it correctly.
--
You received this
Updates:
Labels: -PassedReview NeedsReview
Comment #8 on issue 1924 by ronan.l...@gmail.com: Eq() gets .as_basic()
method
http://code.google.com/p/sympy/issues/detail?id=1924
Still -1. An Eq is already an instance of Basic, so it doesn't make sense
to convert it to Basic - unless
Comment #6 on issue 1647 by ronan.l...@gmail.com: leading_monom is incorrect
http://code.google.com/p/sympy/issues/detail?id=1647
-1 on changing the name to something cryptic and non-compliant with PEP 8.
--
You received this message because you are subscribed to the Google Groups
Updates:
Labels: -NeedsReview PassedReview
Comment #10 on issue 1823 by asmeurer: integral.atoms(Symbol) should
introspect
http://code.google.com/p/sympy/issues/detail?id=1823
See comments at github.
One thing though, shouldn't we make symbols an method of Basic that does
the same
Updates:
Labels: -NeedsReview NeedsBetterPatch
Comment #10 on issue 1772 by asmeurer: Integral(1,x).is_number fails
http://code.google.com/p/sympy/issues/detail?id=1772
This doesn't work with the example I gave in comment 1:
In [2]: Integral(0, x).is_number
Out[2]: False
Also, I'm not
Updates:
Owner: asmeurer
Labels: Integration
Comment #12 on issue 334 by asmeurer: integrate: integrate(exp(-x**2), x)
http://code.google.com/p/sympy/issues/detail?id=334
Of course, the right thing to do is to implement the full algorithm, which
can split out exp(-x**2) from
Comment #9 on issue 1924 by smichr: Eq() gets .as_basic() method
http://code.google.com/p/sympy/issues/detail?id=1924
Ronan, could you please give consideration to the difference between Basic
and basic just as we do for Integer and integer? Poly is also a Basic and
has this mechanism:
Comment #7 on issue 1647 by smichr: leading_monom is incorrect
http://code.google.com/p/sympy/issues/detail?id=1647
OTOH, anyone working with polynomials, I would think, would quickly take to
the short and concise names since they are derived from the first letter of
the relevant words. I
Updates:
Labels: PassedReview
Comment #6 on issue 1982 by asmeurer: use is None instead of == None
http://code.google.com/p/sympy/issues/detail?id=1982
I didn't see any == True fixes in t. Are they somewhere else. I am +1
on the commit 0509dc16d981a2aa784a in t (see comments on that
Updates:
Labels: PassedReview
Comment #1 on issue 1983 by asmeurer: unify mul and pow handling of Add**e
http://code.google.com/p/sympy/issues/detail?id=1983
See GitHub comments on commit f44e30877c6cc7911127.
--
You received this message because you are subscribed to the Google Groups
Comment #7 on issue 1978 by asmeurer: select whether constant gets
distributed into mul
http://code.google.com/p/sympy/issues/detail?id=1978
Just to be absolutely rigorous (and to get into the habit), I am
referencing commit af3778790f8d21fe047b.
--
You received this message because you
Updates:
Labels: -NeedsReview PassedReview NeedsBetterPatch
Comment #6 on issue 1926 by asmeurer: ode tweaks
http://code.google.com/p/sympy/issues/detail?id=1926
Adding PassedReview too because everything is fine except for the lack of
the test.
--
You received this message because
Ühel kenal päeval, R, 2010-07-16 kell 03:00, kirjutas smichr:
Hi all,
I have a lot of work that I have separated out into about 35 issues.
The work deals with everything from minor editing of code, to handling
of non-commutatives in simplifications and (hopefully) a total purge
of
OK, after a week of letting this sit, I think I see the best
resolution of this issue.
I propose that there be a single TensorProduct, DirectSum and
TensorPower classes that work like Mul, Add and Pow and not have
State, Operator or HilbertSpace inherit from these (there would be no
multiple
On Sat, Jul 17, 2010 at 12:13 AM, Aaron S. Meurer asmeu...@gmail.com wrote:
On Jul 16, 2010, at 4:00 AM, smichr wrote:
Hi all,
I have a lot of work that I have separated out into about 35 issues.
The work deals with everything from minor editing of code, to handling
of non-commutatives in
fr., 16.07.2010 kl. 13.25 -0700, skrev Brian Granger:
Hi,
Currently in secondquant and quantum we are making Bra and Ket
subclasses of State:
class State(Expr):
class Bra(State):
class Ket(State):
the other option would be to make the ket/bra-ness an option:
bra = State('alpha',
On Jul 16, 3:32 pm, Øyvind Jensen jensen.oyv...@gmail.com wrote:
fr., 16.07.2010 kl. 03.00 -0700, skrev smichr:
Given the complexity of the patchset, I would recommend to use the
smartbear web hosted tool that Andy and I used for reviewing the fortran
code generator. Andy fixed it so that
Can you create an account please? I need to setup your account as the
Author.
Øyvind
On 17 Jul, 15:22, Øyvind Jensen jensen.oyv...@gmail.com wrote:
On 17 Jul, 14:18, smichr smi...@gmail.com wrote:
On Jul 16, 3:32 pm, Øyvind Jensen jensen.oyv...@gmail.com wrote:
fr., 16.07.2010 kl.
i'm new to sympy
for predefined equation,assigning new values to variables(symbols) in
equation,do not changes value of equation.
how can i assign new values to variables and get appropriate value of
equation and not the older one?
--
You received this message because you are subscribed to the
Hi.
On Jul 17, 2010, at 8:42 AM, jay wrote:
i'm new to sympy
for predefined equation,assigning new values to variables(symbols) in
equation,do not changes value of equation.
how can i assign new values to variables and get appropriate value of
equation and not the older one?
See
Okay, I really like the idea of factory functions and a single State
class because (to the best of my knowledge) someone could do something
like:
ket = Ket('beta')
ket
|beta
The Ket factory function would hand State the name as well as ket=True
and return a State instance or something like
I just saw this, which is supposed to help hosting Python projects
with Sphinx documentation on GitHub. I haven't looked at it too much,
but it might be useful.
http://dinoboff.github.com/github-tools/overview.html#usage
Aaron Meurer
--
You received this message because you are subscribed to
is there any way to get the following Integral
Integral((sin(m*pi*x/a)*sin(pi*x/a)), (x,0,a)).doit()
to produce the intuitive answer of a dirac delta?
the answer sympy returns is hard to read and to evaluate it i have to
use limit which is slow.
--
You received this message because you are
how about this,
(a*cos(x)*sin(x) + b*cos(x)*sin(x))/(c*cos(x)*sin(x))
cancel doesnt seem to work.
--
You received this message because you are subscribed to the Google Groups
sympy group.
To post to this group, send email to sy...@googlegroups.com.
To unsubscribe from this group, send email
cancel() works, but you need to do it in the git master, with the new polys:
In [10]: cancel((a*cos(x)*sin(x) + b*cos(x)*sin(x))/(c*cos(x)*sin(x)))
Out[10]:
a + b
─
c
Aaron Meurer
On Jul 17, 2010, at 3:52 PM, arseno...@virginia.edu wrote:
how about this,
(a*cos(x)*sin(x) +
So I don't know very much about the Dirac Delta function, so pardon me if
this is actually obvious, but looking at Wikipedia and Mathworld, as well as
plugging this into Maple, SymPy, and WolphramAlpha, I can't understand what you
are looking for (I can't find any connection to this integral
i get a different result
pprint(Integral((sin(m*pi*x/a)*sin(pi*x/a)), (x,0,a)).doit() )
2 2 2
a⋅π ⋅sin(π⋅m) a⋅π ⋅m ⋅sin(π⋅m)
- +
3 233 4 3 233 4
2⋅π ⋅m - π - π ⋅m2⋅π ⋅m - π
If m is set as an integer, it returns 0, because sin(m*pi) returns 0 when m is
assumed to be an integer:
In [5]: m = Symbol('m', integer=True)
In [6]: x, a = symbols('x a')
In [7]: Integral((sin(m*pi*x/a)*sin(pi*x/a)), (x,0,a)).doit()
Out[7]: 0
Once again, you need to be working in the git
Given the complexity of the patchset, I would recommend to use the
smartbear web hosted tool that Andy and I used for reviewing the fortran
code generator. Andy fixed it so that we have a free hosting for the
Sympy project on their demo server, see this post:
On Jul 17, 2010, at 6:18 AM, smichr wrote:
On Jul 16, 3:32 pm, Øyvind Jensen jensen.oyv...@gmail.com wrote:
fr., 16.07.2010 kl. 03.00 -0700, skrev smichr:
Given the complexity of the patchset, I would recommend to use the
smartbear web hosted tool that Andy and I used for reviewing the
On Sat, Jul 17, 2010 at 2:18 PM, asmeurer asmeu...@gmail.com wrote:
I just saw this, which is supposed to help hosting Python projects
with Sphinx documentation on GitHub. I haven't looked at it too much,
but it might be useful.
http://dinoboff.github.com/github-tools/overview.html#usage
I
On Fri, Jul 16, 2010 at 10:05 PM, Ondrej Certik ond...@certik.cz wrote:
On Fri, Jul 16, 2010 at 5:57 PM, Brian Granger elliso...@gmail.com wrote:
On Fri, Jul 16, 2010 at 2:57 PM, Aaron S. Meurer asmeu...@gmail.com wrote:
They should get good at the git rebase command. The —onto flag can also
On Jul 17, 2010, at 2:19 AM, Ondrej Certik wrote:
On Sat, Jul 17, 2010 at 12:13 AM, Aaron S. Meurer asmeu...@gmail.com wrote:
On Jul 16, 2010, at 4:00 AM, smichr wrote:
Hi all,
I have a lot of work that I have separated out into about 35 issues.
The work deals with everything from
42 matches
Mail list logo