[sympy] Re: Rational function factor cancellation in simplify

2017-10-18 Thread Kalevi Suominen
On Wednesday, October 18, 2017 at 3:08:32 AM UTC+3, EKW wrote: > > >>> from sympy import * > >>> x = Symbol('x') > > >>> p = (x**2 + x) / ((x - 1)*(x + 1)) > >>> print(p) > (x**2 + x)/((x - 1)*(x + 1)) > >>> p = simplify(p) > >>> print(p) > x/(x - 1) > > > This simplification is only valid for x

[sympy] Introducing myself to community

2017-10-18 Thread amanharitsh123
Hi Everyone I am a new contributor.I just explored the SymPy project a bit and the idea really fascinates me. I would like to contribute to the project. Please guide me about making contributions in the project . Thank you :-) -- You received this message because you are subscribed to the Goog

[sympy] Review "Control Engineering" module pull request

2017-10-18 Thread Gaurav Dhingra
Hi everyone, Can anyone familiar with Control Engineering help in reviewing the pull request https://github.com/sympy/sympy/pull/12189? It has been sometime since that PR was submitted. I hope if someone reviews it, then the contributed code may find some good place in SymPy. --- Thanks Gaurav

Re: [sympy] Re: Rational function factor cancellation in simplify

2017-10-18 Thread Aaron Meurer
Cancellation of removable singularities is useful enough that it's included in the default simplify() heuristics. Without it, it would be quite annoying to most use cases. It's also not uncommon that in the process of creating an expression a removable singularity is created, through multiplying an

Re: [sympy] Does subclassing from Boolean make sense for ConditionSet and AppliedPredicate?

2017-10-18 Thread Aaron Meurer
ConditionSet no. Sets are not the same thing as booleans. A set is a collection of objects. A boolean should be replaceable with true or false. ConditionSet(x, x > 1, {1, 2, 3}) is the same thing as {2, 3}, which does not make sense as true or false. Sets can be constructed from booleans and visa v