Status: Accepted
Owner: smi...@gmail.com
Labels: Type-Defect Priority-Medium
New issue 2852 by smi...@gmail.com: is_constant(wrt) is needed
http://code.google.com/p/sympy/issues/detail?id=2852
Although I think I am the one that gave Integral the is_number logic, I
think that is_number should b
Comment #1 on issue 2852 by ronan.l...@gmail.com: is_constant(wrt) is needed
http://code.google.com/p/sympy/issues/detail?id=2852
Sum(x,(x,1,10)).is_number == False is a bug. For the rest, I don't
understand the distinction you're trying to make: evaluating pi is
non-trivial and certainly mu
Comment #3 on issue 2852 by smi...@gmail.com: is_constant(wrt) is needed
http://code.google.com/p/sympy/issues/detail?id=2852
I guess what I mean, then, is that is_number should give confidence in
being able to evalf and not hang because of some undoable entity like
a nasty integral.or sum
--
Y
Comment #2 on issue 2852 by smi...@gmail.com: is_constant(wrt) is needed
http://code.google.com/p/sympy/issues/detail?id=2852
And even if we can't prove that something is zero at least we can know if
it's constant (see last example):
>>> def is_constant(self, *wrt):
... if self.
Comment #4 on issue 2852 by smi...@gmail.com: is_constant(wrt) is needed
http://code.google.com/p/sympy/issues/detail?id=2852
I guess I would rather have None come back for "potentially
unevaluatable" is_number requests. So if a routine can't figure out if
(without doit) that doing doit will suc
Comment #5 on issue 2852 by asmeu...@gmail.com: is_constant(wrt) is needed
http://code.google.com/p/sympy/issues/detail?id=2852
Yes, I've more than once wondered if we should separate is_number and some
kind of is_evalfable. For the most part, they are equivalent, but it's
always possible t
Updates:
Status: Duplicate
Mergedinto: 2052
Comment #6 on issue 2852 by smi...@gmail.com: is_constant(wrt) is needed
http://code.google.com/p/sympy/issues/detail?id=2852
(No comment was entered for this change.)
--
You received this message because you are subscribed to the Goog