Comment #4 on issue 2852 by [email protected]: 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 succeed it should return None

def is_number(self):
    if it has free symbols return False
    if there is an eval_isnumber routine return it's value

def eval_isnumber(self):
    if without doit you know this will evalf ok return True

This way we would know that if is_number is True we can evaluate it
numerically. This logic would help checksol know when it should try to
evalf and when it should not.

--
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.

Reply via email to