Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 15:11
    sympy-bot commented #23534
  • 15:11
    sympy-bot updated the wiki
  • 15:11
    sympy-bot commented #23534
  • 15:11

    smichr on master

    fix symbols recursion not pass … Merge pull request #23534 from … (compare)

  • 15:11
    smichr closed #23532
  • 15:11
    smichr closed #23534
  • 13:41
    certik commented #22712
  • 13:41
    sympy-bot commented #22712
  • 13:41
    certik edited #22712
  • 12:38
    Upabjojr reopened #5858
  • 12:38
    Upabjojr closed #5858
  • 12:38
    Upabjojr commented #5858
  • 11:01
    oscarbenjamin commented #23533
  • 09:45
    wonderlandpark starred sympy/sympy
  • 08:45
    kadirnar starred sympy/sympy
  • 08:01
    moorepants commented #23536
  • 07:37
    moorepants commented #23536
  • 07:29
    moorepants commented #23536
  • 07:21
    moorepants commented #23536
  • 07:18
    LukeWood starred sympy/sympy
harshavardhan-99
@harshavardhan-99
I am harrsha from iiit hyderabad india. I am interested in working on "Continuum mechanics: Creating a Rich beam Solver and Extending Continuum Mechanics module". I have thought of possible addition I can make to this module . I'm even working on some issues.
The issues are :
Developing polygon geometric cross-sections using FEM modelling of the cross section
Calculating the first moment of area for ellipses class
Making composite shapes using Boolean operations on basic shapes in the geometry module.
Developing separate cross section APIs for steel and concrete beam(with reinforcement orientation included)(including T beam , Rectangular, Steel)
Implementing Moment curvature module for nonlinear analysis of Beam
Plotting graphs related to Moment curvature analysis.
Implementing fiber analysis model of Beam
2D frame structure implementation and its calculations using method of matrix displacement method. It won’t be a part of beam module, but can be taken under continuum mechanics.
Performing stability analysis of columns and frame
Implementing simple frames Buckling and its calculations.
Plotting graphs related to frame buckling
Please suggest any particular issues I can add to my proposal which are more important this time.
Mean while I will come up with my plan on implementing these to the sympy repo
harshavardhan-99
@harshavardhan-99
I will send the proposal plan to the corresponding mentor in mailing list
Please review it
Smit Gajjar
@smitgajjar
There is no documentation for C and Fortran Parser which is in parsing package! If it is available, please share the link here. Thanks
Vatsal Srivastava
@sava-1729
Hi, I have added a function to sets.py, but it's not getting imported along with the other classes/functions in sets.py
Please help
Also, how are we supposed to run tests?
Vatsal Srivastava
@sava-1729
I have installed sympy via pip, and cloned the repo too, in separate directories though. So is it getting confused because of that?
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.