Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 06:46
    sylee957 commented #11756
  • 05:49
    JSS95 updated the wiki
  • 05:47
    sympy-bot updated the wiki
  • 05:47
    sympy-bot commented #20835
  • 05:47

    JSS95 on master

    refactor(assumptions): migrate … refactor(assumptions): migrate … refactor(assumptions): migrate … and 1 more (compare)

  • 05:47
    JSS95 closed #20835
  • 05:46
    JSS95 commented #20835
  • 05:37
    sympy-bot commented #20569
  • 05:37
    naveensaigit synchronize #20569
  • 05:21
    hailcpy commented #20842
  • 05:07
    hailcpy commented #20842
  • 05:06
    hailcpy commented #20842
  • 05:03
    naveensaigit commented #20569
  • 05:01
    sympy-bot commented #20569
  • 05:01
    naveensaigit synchronize #20569
  • 04:58
    sympy-bot commented #20569
  • 04:58
    naveensaigit synchronize #20569
  • 04:17
    w142236 commented #20839
  • 04:13
    w142236 commented #20839
  • 03:22
    naveensaigit commented #20569
Harshit Yadav
@hyadav2k
Hi, can someone tell me how can we add a new function in sympy, beacuse on directly adding, and then calling in terminal gives NameError and says that function called is not defined. Thanks!
Naveen Sai
@naveensaigit
@hyadav2k If you open python in the same working directory as the repo you clone, you can import the sympy you made changes to without any problems
Craig Russell
@ctr26

Looks like it is a bug

Thanks aaron!

Nisarg Chaudhari
@Nisarg-Chaudhari
Hello everyone, I'm Nisarg Chaudhari, a second year computer science undergrad, studying at BITS Pilani Hyderabad Campus, India. I am familiar with python and made some personal projects with it (mainly small games with pygame). 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. Is there anything else I need to know to get started?
Harshit Yadav
@hyadav2k

@hyadav2k If you open python in the same working directory as the repo you clone, you can import the sympy you made changes to without any problems

Thanks for sharing @naveensaigit!

Naveen Sai
@naveensaigit

@hyadav2k If you open python in the same working directory as the repo you clone, you can import the sympy you made changes to without any problems

Thanks for sharing @naveensaigit!

No problem!

Aaron Stiff
@AaronStiff
I'm just running some tests in the printing module, but even without making any changes to any files, pytest is reporting 8 failed tests. Is this normal?
Thomas Aarholt
@thomasaarholt
What are the failures?
I'm not familiar with the sympy ones, but over at hyperspy we often have test failures due to mismatches on matplotlib versions when testing generated images
That said, if you go to the github master, you can see that the red cross implies that the master branch is currently not passing tests
Aaron Stiff
@AaronStiff
image.png
Thomas Aarholt
@thomasaarholt
Are you getting something ala "SyntaxError: invalid escape sequence \e"?
None of those are failing :)
Aaron Stiff
@AaronStiff
They aren't?
Thomas Aarholt
@thomasaarholt
Unless you've done something to your colorscheme
Red = failures, yellow is just that it output a warning.
Aaron Stiff
@AaronStiff
I get this at the end: 844 passed, 61 skipped, 8 xfailed, 1 xpassed, 1 warning in 7.50s
Thomas Aarholt
@thomasaarholt
xfailed are "allowed/expected failures"
Aaron Stiff
@AaronStiff
Oh! That makes sense. Thanks.
Thomas Aarholt
@thomasaarholt
You're welcome!
Zachariah Etienne
@zachetienne
Sympy Travis is failing atm; sympy-dev appears to be pretty badly broken (AssertionError: {'sympy.polys.matrices'}). Any news on when it'll be fixed?
Sayandip Halder
@sayandip18
>>> sympify(0.0) == S.false
True
>>> S.false==sympify(0.0)
False
What's the reason for this behaviour? Shouldn't the latter be True too?
12 replies
Thomas Aarholt
@thomasaarholt
What does sympify(0.0) evaluate to?
I agree that it seems odd
(and what does S.false evaluate to?)
Sayandip Halder
@sayandip18
sympify(0.0) is sympy.core.numbers.Float whereas S.false is sympy.logic.boolalg.BooleanFalse
che2712
@che2712
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.
Suryam Arnav Kalra
@suryam35
Hi @che2712 , you can start with https://github.com/sympy/sympy/wiki/Introduction-to-contributing for starters, and then you can refer to the docs https://docs.sympy.org/latest/index.html. For the later part, refer to https://github.com/sympy/sympy/wiki/Development-workflow.
Ganesh C K M
@ckmganesh
Hey, there . If have a idea proposal or a feature proposal , Can I talk about it here
Ganesh C K M
@ckmganesh
@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 :)
Aaron Meurer
@asmeurer
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
@ckmganesh
ohh okayy, Thankss
che2712
@che2712
Thanks @suryam35 , I'll start right away
Ganesh C K M
@ckmganesh
@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?
Aaron Meurer
@asmeurer
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
@ckmganesh
@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
Sayandip Halder
@sayandip18
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.
Aaron Meurer
@asmeurer
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.
Aaron Meurer
@asmeurer
Although based on the error message, you may have had x set as real=True before. It works if you do that.
Sidharth Mundhra
@0sidharth

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.

bdonnahue
@bdonnahue
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
Sayandip Halder
@sayandip18
@bdonnahue
>>> f=Function('f')
>>> f(x)
f(x)
>>> f(x+2)
f(x + 2)
Christoph Heindl
@cheind
hey everyone! anyone in here that is working with sympy.units?
HighMans
@HighMans
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?
almighty123789
@almighty123789
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>
Shivam Sundram
@RATED-R-SUNDRAM
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
Anurag-Chevendra
@Anurag-Chevendra
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.
ayushi-get
@ayushi-get
Hey I am Ayushi Rawat , 2nd year undergraduate and would really love to start my open source journey with this community.
Thank you
Suryam Arnav Kalra
@suryam35
Hi @RATED-R-SUNDRAM @Anurag-Chevendra @ayushi-get , you can start with https://github.com/sympy/sympy/wiki/Introduction-to-contributing for starters, and then you can refer to the docs https://docs.sympy.org/latest/index.html. For the later part, refer to https://github.com/sympy/sympy/wiki/Development-workflow.