Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 11:30
    ThePauliPrinciple commented #22445
  • 11:13
    oscarbenjamin commented #22445
  • 11:06
    anutosh491 commented #11394
  • 10:49
    anutosh491 commented #14245
  • 10:46
    ThePauliPrinciple commented #22885
  • 10:45
    anutosh491 commented #14245
  • 10:40
    sympy-bot commented #22885
  • 10:40
    shubhayu09 edited #22885
  • 10:31
    anutosh491 commented #14355
  • 10:24
    anutosh491 commented #22264
  • 10:24
    faze-geek commented #22889
  • 10:23
    sympy-bot commented #22885
  • 10:23
    shubhayu09 edited #22885
  • 10:21
    ThePauliPrinciple labeled #22890
  • 10:21
    ThePauliPrinciple labeled #22890
  • 10:19
    ThePauliPrinciple synchronize #22890
  • 10:14
    ThePauliPrinciple commented #22885
  • 10:12
    anutosh491 commented #14355
  • 10:09
    sympy-bot commented #22890
  • 10:09
    ThePauliPrinciple opened #22890
Smit Gajjar
@smitgajjar
@sava-1729 Try calling that function from your module after specifying relative or absolute path to the sympy repo you cloned
Something like this
from <path>.sympy import sets
Or if your module lies in sympy repo, simply: from sympy import sets
Anubhav Gupta
@sudoWin
Another way of doing that could be you can just go to your cloned folder, and then you can do
python3 ./bin/isympy
That will run an IPython Notebook with your module and changes imported
SHUBHAM KHANTWAL
@shubham-khantwal
can somebody explain how isympy is running notebook . all i see is some os and sys code that is working over some path
Kalevi Suominen
@jksuom
This is the chain of calls: isympy -> init_session -> ipython -> notebook.
SHUBHAM KHANTWAL
@shubham-khantwal
ok... thanks
Maarten van der Velde - (Ideogram)
@ideogram

Dear people, I hope I can 'shoot' a quick question here...: Is there a way to PREVENT sympy's evalf() function from interpreting the letter 𝐈 (capital i) as √-1 ? For that matter, can I pursuade it to understand the letters E and N as 'just' another symbol holding a variable?

(I tried googling it, but this question seems a bit too vague for Google to handle. Neither can I find anything in the documentation of the eval function or in source code of SymPy)

Kalevi Suominen
@jksuom
Would it suffice to define those as symbols: E, I, N = symbols('E I N')?
Maarten van der Velde - (Ideogram)
@ideogram
Okay, I will try that. I did not define them, as I used subs. Thanks!
SHUBHAM KHANTWAL
@shubham-khantwal
hello guys , i got an error "cannot import name add" . Can somebody help me with that ? i am getting this error whenever i am trying to shift function from one class to another or while creating new class
Maarten van der Velde - (Ideogram)
@ideogram
@jksuom Thanks,... it didn't help, though :)
SHUBHAM KHANTWAL
@shubham-khantwal
@ideogram why you want to use only predefined symbols. why don't you use another set?
Maarten van der Velde - (Ideogram)
@ideogram
@shubham-khantwal It might, in the most extreme case, be used on user input. 'I' is a common variable to use for iterations, so I can expect people to use that variable.
SHUBHAM KHANTWAL
@shubham-khantwal
OK..
Maarten van der Velde - (Ideogram)
@ideogram
I now notice that is only capital "I, E and N" that have this problem, 'i, e en n' are okay. But still.
@shubham-khantwal I work on the dynamic generation of drawings, CAD-style. I want to construct a kind of macro-language for the end-users.
Maarten van der Velde - (Ideogram)
@ideogram
@shubham-khantwal How could I combine that with a subs dict?
Kalevi Suominen
@jksuom
from sympy.abc import I and I = Symbol('I') do the same thing. One of them will suffice to make I different from sqrt(-1).
Maarten van der Velde - (Ideogram)
@ideogram
Yes, I read that too, but it seems not to suffice. Maybe it's because my subs dict is somewhat strange? result = expr.evalf(subs=self.__values}) with self.__values = 'L': 80, 'W': 50, 'H': 150, 'F': 20, 'I': 1, 'Y': 1
death-angel-141
@death-angel-141
Any potential mentor for the gsoc idea of Classical Mechanics: Efficient Equation of Motion Generation with Python with whom I can disuss the related work
Kalevi Suominen
@jksuom
What is the type of the object on the rhs of self.__values = 'L': 80, 'W': 50, 'H': 150, 'F': 20, 'I': 1, 'Y': 1?
SHUBHAM KHANTWAL
@shubham-khantwal
does any got any idea that how can i deal with circular dependency easily ? there are some tricks but still being a large projects there is always a dependency that occurs on making some changes...
SHUBHAM KHANTWAL
@shubham-khantwal
And there are some Add file that are imported from .expr while we already have Add class in add file imported in same file . so how can we differentiate both?
Kalevi Suominen
@jksuom
@ideogram It looks like the objects that you are substituting in evalf are literal strings of type str like 'I' and not SymPy objects denoted by Python identifiers like I.
Vatsal Srivastava
@sava-1729
I've cleared all conflicts etc in my PR, someone please review it.
Praveen Sahu
@povinsahu1909
Made changes in singularity handling in plot. And want review in my PR #18856.
Hari07
@Hari-07
Hey Everyone, Im Harinandan. I would like to contribute to SymPy as Part of GSoC 2020
Besides coding math is my second passion, so i think even math intensive projects will be fine for me.
Do tell me what i should do
Mazen Amr
@mazenamr
Hey guys, I'm Mazen from Cairo, Egypt
Arpan Chattopadhyay
@Arpan612
@UltimateGamer07 Hi Harinandan! Welcome. Please find the links below to get started.
@mazenamr Hi Mazen. If you wish to contribute, please have a look at the links above.
Shashank07-creator
@Shashank07-creator
Hey Everyone , i m Shashank. I would like to contribute in SymPY ' s physics projects. Though, i'm a coder but i love physics too. Do tell me what to do.
Arpan Chattopadhyay
@Arpan612
Hi Shashank! Welcome. Please find the links below to get started.
I hope you have gone over the projects and have decided which one would you like to do.
Hari07
@Hari-07
I saw that in the google groups people had mentioned what idea they want to do for gsoc and were having discussions on the same. I too posted my idea yet there was no response from anyone, are there any other prerequisites before discussing project idea on the google group?
vishakha2108
@vishakha2108
Hi , I am getting an unsuccessful check in my pull request because of Travis ci build failed. Can someone guide me on how to resolve this error.
sarthak744
@sarthak744
Hey everyone, I am Sarthak Srivastava. I would like to contribute in SymPY's mathematics's projects. Although, I am pursuing cse from MSIT but maths has always intrigued me. So, kindly let me know what to do.
mohit
@mohitacecode

Hi , I am getting an unsuccessful check in my pull request because of Travis ci build failed. Can someone guide me on how to resolve this error.

Please mention the pull request here

1 reply
Nikhil Maan
@Sc0rpi0n101

I saw that in the google groups people had mentioned what idea they want to do for gsoc and were having discussions on the same. I too posted my idea yet there was no response from anyone, are there any other prerequisites before discussing project idea on the google group?

No, there are no prerequisites to presenting or discussing any idea for GSoC, or otherwise. You are free to start any discussion on an idea you might feel useful for SymPy.

As for your post, the mentors for your idea might have been preoccupied with some work, so they might not have replied. What was your idea btw?

Hey everyone, I am Sarthak Srivastava. I would like to contribute in SymPY's mathematics's projects. Although, I am pursuing cse from MSIT but maths has always intrigued me. So, kindly let me know what to do.

Hi Sarthak,

You can check out https://github.com/sympy/sympy/wiki/Introduction-to-contributing and https://github.com/sympy/sympy/wiki/Development-workflow to get started with development. You can also check out https://github.com/sympy/sympy/blob/master/README.rst for general installation and usage instructions.

Mohit Balwani
@Mohitbalwani26
if I want to add a function in the tests file of some module which needs some parameter then where do I need to make changes so that it doesn't throw an exception. For example, I want to add a def test_solver(eq, hint) in test_ode.py but it throws an exception for missing argument as sympy runs test_file by calling every function.
vishakha2108
@vishakha2108
pull request #18880 has an unsuccessful check because of Travis ci build failed.Can someone guide me on how to resolve this error