What's the reason for this behaviour? Shouldn't the latter be True too?
What does sympify(0.0) evaluate to?
I agree that it seems odd
(and what does S.false evaluate to?)
sympify(0.0) is sympy.core.numbers.Float whereas S.false is sympy.logic.boolalg.BooleanFalse
Hello everyone, I'm Cheshta Babbar, a fourth year undergrad, studying at BITS Pilani. I would like to contribute to SymPy. This is my first time contributing to open source, currently going through "Introduction to contributing" in sympy wiki. Please guide me.
Hey, there . If have a idea proposal or a feature proposal , Can I talk about it here
Ganesh C K M
@asmeurer This is just an idea I thought would be useful if implemented. Maclaurin's series is one of the most used series today but if we have to find it using existing methods, we have to manually find using derivative at every single point. But a separate module or inbuilt function would come really handy. The user will pass Maclaurins(function_name) and the function can return the coefficients as an array. This can save a lot of time if implemented . Any suggestion would be of great help. Hoping for a reply :)
That already exists, in the series submodule.
However, if you search the issue tracker, there are several issues that can be worked on relating to it.
Ganesh C K M
ohh okayy, Thankss
Thanks @suryam35 , I'll start right away
Ganesh C K M
@asmeurer I went through all the files in the series submodule. I can't seem to find Maclaurin's function under the module. Can you please tell me the name of the file?
The main function is the series method. The actual code for it is on the various functions, mostly in sympy/functions. There is also sympy/series/formal.py for formal power series, which is for getting the general formula of a series rather than just the first few terms.
Ganesh C K M
@asmeurer I checked in all the scripts you suggested. I can't seem to find it. It's not exactly the Taylor series but it is based on that. I also checked the documentation for the same but I couldn't find anything. Could you please help me with it
Can someone confirm whether solve([abs(x) - 2, arg(x) - pi], x) is returning [(-2,)] on the master? It's showing NotImplementedError: solving Abs(x) when the argument is not real or imaginary. for me although it was returning the correct answer just a while back.
You can use git checkout to try older commits to find one that works, and use git bisect to find a commit that made the change.
Although based on the error message, you may have had x set as real=True before. It works if you do that.
the correct answer just a while back
I checked a few commits in the history till October, and it is returning NotImplementedError for me in all of them. I think, as mentioned above, x probably was set to real=True when you tried.
hey folks. I am trying to solve an equation with nested expressions for example: y - f(x +2). I dont understand how to write f so that it can handle the expression x + 2
hey everyone! anyone in here that is working with sympy.units?
Quick question, how do you either multiply a matrix with the eigenspace from the output of eigenvects or how do you convert a list of matrices in to one matrix?
Hello Everyone, I am new to python dev and wanted to know how to use debug sympy code. I found on the docs to make SYMPY_DEBUG=True and then use debug_decorator(func). But I just get<function debug_decorator.<locals>.decorated at 0x0000017824EC1430>
hi everyone I am shivam sudram , 2nd year undergraduate at IIT Mandi , i would like to contribute to this org. Any guidance related to where to begin my cotributions and work flow would be very helpful
Heyy, I'm Anurag Chevendra, a sophomore at VJTI Mumbai. I really liked this org and would love to start contributing. Can anyone help me out so as from where to start? Thank you.
Hey I am Ayushi Rawat , 2nd year undergraduate and would really love to start my open source journey with this community. Thank you
Hey guys, my name is Atanu Ghosh. I am currently a fresher at TMSL Kolkata. I had never contributed before but would surely like to contribute to this organisation and be part of this great open source community. Please guide me. ThankYou.
Would it make sense in the following scenario:
X = sympy.symbols('x', real=True, positive=True)
stats.E(*) to output Integral of X dP for some probability space Ω,Σ,P instead of just x?