Comment #11 on issue 1975 by smi...@gmail.com: nsimplify() should be
recursive
http://code.google.com/p/sympy/issues/detail?id=1975
This pull request now does a little bit of recursion for the rational case.
To do more requires some subtlety in removing numerical terms from Adds and
Muls
Comment #8 on issue 1975 by smi...@gmail.com: nsimplify() should be
recursive
http://code.google.com/p/sympy/issues/detail?id=1975
Current master gives
nsimplify(1./7 * x)
0.142857142857143*x
nsimplify(1./7 * x,rational=1)
x/7
nsimplify(1./7)
1/7
but it does seem to me that if the
Comment #9 on issue 1975 by asmeurer: nsimplify() should be recursive
http://code.google.com/p/sympy/issues/detail?id=1975
See issue 2100. nsimplify() rarely works if you don't pass any flags.
--
You received this message because you are subscribed to the Google Groups
sympy-issues group.
To
Comment #10 on issue 1975 by smi...@gmail.com: nsimplify() should be
recursive
http://code.google.com/p/sympy/issues/detail?id=1975
But in the example given, it does work if there is no symbol; and
doesn't even if a tolerance *is* set:
nsimplify(x/7.,tolerance=1e-3)
Updates:
Labels: smichr
Comment #7 on issue 1975 by asmeurer: nsimplify() should be recursive
http://code.google.com/p/sympy/issues/detail?id=1975
(No comment was entered for this change.)
--
You received this message because you are subscribed to the Google Groups
sympy-issues group.
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 #3 on issue 1975 by smichr: nsimplify() should be recursive
http://code.google.com/p/sympy/issues/detail?id=1975
This is already handled with the rational flag in sympify in my branch 1778
for *strings* and now in commit 1975 in branch rev2 of mine. You might
check out the latter
Comment #4 on issue 1975 by Vinzent.Steinberg: nsimplify() should be
recursive
http://code.google.com/p/sympy/issues/detail?id=1975
There is no commit 1975 in your rev2 branch.
--
You received this message because you are subscribed to the Google Groups
sympy-issues group.
To post to this
Status: Accepted
Owner: Vinzent.Steinberg
CC: fredrik.johansson
Labels: Type-Defect Priority-Medium
New issue 1975 by Vinzent.Steinberg: nsimplify() should be recursive
http://code.google.com/p/sympy/issues/detail?id=1975
In [2]: nsimplify(1./7 * x)
Out[2]: 0.142857142857143⋅x
This should be
Comment #2 on issue 1975 by Vinzent.Steinberg: nsimplify() should be
recursive
http://code.google.com/p/sympy/issues/detail?id=1975
nsimplify() and friends have been added to Expr.
--
You received this message because you are subscribed to the Google Groups
sympy-issues group.
To post to
11 matches
Mail list logo