You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inheritance of the attributes of the range is only done during doit. Would it make sense to do so at instantiation if evaluate is not False? Instantiation could happen in two steps: obj.xreplace({bound:bound_with_assumptions}).xreplace({bound_with_assumptions: bound}). The first step would allow anything to evaluate based on assumptions; the second step would allow the user to still access that symbol.
The text was updated successfully, but these errors were encountered:
It might be good to include a check for assumptions that the integration variable has that a limit expression does not have, e.g. the summation variable has been declared as a positive integer in the following:
I noticed that the condition
k >= 1
is unevaluated in the first case:but not in this case -- even though the context of the
Sum
warrants the change:Inheritance of the attributes of the range is only done during
doit
. Would it make sense to do so at instantiation if evaluate is not False? Instantiation could happen in two steps:obj.xreplace({bound:bound_with_assumptions}).xreplace({bound_with_assumptions: bound})
. The first step would allow anything to evaluate based on assumptions; the second step would allow the user to still access that symbol.The text was updated successfully, but these errors were encountered: