Status: Accepted
Owner: smi...@gmail.com
Labels: Type-Defect Priority-Medium NeedsDecision

New issue 2259 by smi...@gmail.com: nsimplify should use any symbols that already appear in expr
http://code.google.com/p/sympy/issues/detail?id=2259

nsimplify will only use certain symbols in the returned expression if it is told to. It seems to me that if there are NumberSymbols like pi already in the expression, those at least should be used:

    h[17] >>> nsimplify(pi/7.)
    0.142857142857143*pi

If nsimplify looked to see that there was already a pi then the user wouldn't have to explicitly say so:
    h[17] >>> nsimplify(_, [pi])
    pi/7

Should nsimplify check for such symbols if none are given?

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-issues@googlegroups.com.
To unsubscribe from this group, send email to 
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to