solve() could be doing something like this to filter out the
parametric solution for x given the real assumption on x
>>> x, y = symbols('x y', real=True)
>>> solve(x**2 + y**2, [x, y])
[(-I*y, y), (I*y, y)]
>>> solve(Eq(I*y, re(I*y)), y)
[0]
>>> (I*y).subs(y, 0)
0
I don't know if it would work
I'm not sure if it's supported. Normally to get solve() to return only
real solutions you set real=True on the variables. But it doesn't seem
to handle this case. It only wants to give the solutions [(-I*y, y),
(I*y, y)].
Aaron Meurer
On Tue, Jan 21, 2020 at 7:00 AM Jisoo Song wrote:
>
> It
Hello,
I am Purva Chiniya,a third year undergrad at IIT Roorkee.I am proficient in
programming languages and have a profound interest in mathematics and deep
learning. I'm getting familiar with Sympy and I look forward to
contributing to it.Thanks:)
--
You received this message because you are
It seems that solveset only deals with univariate equation, while solve
does not consider the domain.
How can I get x==0 & y==0 by solving x**2 + y**2 == 0 in real domain?
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
To unsubscribe from this
Hi everyone,
I am Smit Lunagariya, undergraduate student from IIT-BHU majoring in
Mathematics and Computing. I have been familiar with python for more than a
year and it was also a part of the institute course in the first year. I
have a studied many different essential courses such as
Hello everyone,
I am Archit Hadge ,a 2nd year undergraduate of Computer Engineering in VIT
Pune. I have 1.5 years of experience of Python and did projects in OpenCV,
Flask and Tensorflow. I also work as a Android developer in college's
software cell. My last semester project in Python was