## Where communities thrive

• Join over 1.5M+ people
• Join over 100K+ communities
• Free without limits
##### Activity
• Aug 09 10:29

anutosh491 on GSoC_Pr4.1_Implementing_few_series_methods_for_bessel_functions

minor changes (compare)

• Aug 09 05:13

anutosh491 on GSoC_Pr4.1_Implementing_few_series_methods_for_bessel_functions

Fixed failing test (compare)

• Aug 09 01:30

anutosh491 on GSoC_Pr4.1_Implementing_few_series_methods_for_bessel_functions

Fixed code quality failure (compare)

• Aug 05 12:45

anutosh491 on GSoC_Pr4.1_Implementing_few_series_methods_for_bessel_functions

included exp forms for bessel f… (compare)

• Aug 05 12:05

anutosh491 on GSoC_Pr4.1_Implementing_few_series_methods_for_bessel_functions

Minor change (compare)

• Aug 05 11:59

anutosh491 on GSoC_Pr4.1_Implementing_few_series_methods_for_bessel_functions

• Aug 01 03:22

anutosh491 on GSoC_Pr4.1_Implementing_few_series_methods_for_bessel_functions

Added e.is_negative case for be… (compare)

• Aug 01 02:43

anutosh491 on GSoC_Pr4.1_Implementing_few_series_methods_for_bessel_functions

hanled e.is_negative case for b… (compare)

• Aug 01 02:03

anutosh491 on GSoC_Pr4.1_Implementing_few_series_methods_for_bessel_functions

Replacing exp rewrite with trig… (compare)

• Jul 31 11:41

anutosh491 on GSoC_Pr4.1_Implementing_few_series_methods_for_bessel_functions

Minor changes (compare)

• Jul 31 11:30

anutosh491 on GSoC_Pr4.1_Implementing_few_series_methods_for_bessel_functions

added support when exponent of … (compare)

• Jul 31 11:00

anutosh491 on GSoC_Pr4.1_Implementing_few_series_methods_for_bessel_functions

Fixed leading term method for b… (compare)

• Jul 28 04:15

anutosh491 on GSoC_Pr4.1_Implementing_few_series_methods_for_bessel_functions

• Jul 28 03:19

anutosh491 on GSoC_Pr4.1_Implementing_few_series_methods_for_bessel_functions

Added tests for series of besse… (compare)

• Jul 28 02:51

anutosh491 on GSoC_Pr4.1_Implementing_few_series_methods_for_bessel_functions

Added series test for besseli f… (compare)

• Jul 28 02:38

anutosh491 on GSoC_Pr4.1_Implementing_few_series_methods_for_bessel_functions

• Jul 28 02:25

anutosh491 on GSoC_Pr4.1_Implementing_few_series_methods_for_bessel_functions

Added nseries method for bessel… (compare)

• Jul 27 18:26

anutosh491 on GSoC_Pr4.1_Implementing_few_series_methods_for_bessel_functions

Fixed failing tests (compare)

• Jul 27 14:49

anutosh491 on GSoC_Pr4.1_Implementing_few_series_methods_for_bessel_functions

Added and fixed some tests (compare)

• Jul 27 14:20

anutosh491 on GSoC_Pr4.1_Implementing_few_series_methods_for_bessel_functions

implemented leading term and ns… (compare)

Sidharth Mundhra
@0sidharth
What does the test result "E" indicate? It is not listed on the tests page in the wiki, is this intended or does that page need to be updated?
2 replies
AlexCQY
@AlexCQY
@AlexCQY make sure you aren't inside of the sympy library directory when running the tests
@asmeurer thanks for the reply. I will check it out thanks alot!
aleriv-umich
@aleriv-umich
using init_printing gets me this
aleriv-umich
@aleriv-umich
I'm trying to work on the latex parsing issue but running antlr causes this error to occur
Queen-of-the-Universe
@Queen-of-the-Universe
Hi everyone!
I'm Dishita
I would love to contribute to sympy
Can someone pls guide me?
willtryagain
@willtryagain
how can I contribute to sympy_benchmarks?
JSS95
@JSS95
New github action CI is really faster and better than Travis! Thanks for the improvement.

I would love to contribute to sympy

You can go through 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.

Akshat Sood
@akshatsood2249
Hello everyone, Can someone please guide me on how to test changes one makes to the codebase. Like if I change a particular code locally then how can I check whether my changes are admissible or not.

Hello everyone, Can someone please guide me on how to test changes one makes to the codebase. Like if I change a particular code locally then how can I check whether my changes are admissible or not.

You should go through https://github.com/sympy/sympy/wiki/Development-workflow, it will resolve your doubts.

Akshat Sood
@akshatsood2249
Sähr gudor mänsch
is it possible with sympy to get the formula of sin(x) instead of the resulting value, I did not found that in the documentation
is this done by a solver?
nonlinsolve
sorry for asking, I found it
Akshit Parmar
@parmar-hacky
hello everyone can anyone show me the direction for GSoc 2021 for sympy organisation i am very much interested in contributing
Karl H
I am trying to figure out a problem in octsympy. In sympy 1.5.1, sympy.compatibility.integer_types gives a tuple of the types of integers supported (<type> int and long). I can't find an equivalent option in sympy 1.6.2. Where is it located? I've checked sympy.core.compatibility, but there doesn't seem to be one there that has both the types int and long, just the int class.
Aaron Meurer
@asmeurer
This was removed because it's no longer needed, as SymPy no longer supports Python 2.
Karl H
Ok... So, can cases of sympy.compatibility.integer_types be replaced with Python 3's built-in int clas?
Aaron Meurer
@asmeurer
Yes
Also FWIW sympy.core.compatibility is only designed for internal use in SymPy, so using it in an external library is not recommended. We don't make any backwards compatibility guarantees for that module.
Karl H

Ok, I'll do that then, and hopefully it works.

Ok. I'm not the core maintainer, so I don't have any control over that.

Oh, I assume the same holds true for sympy.compatibility.string_types and python 3's str class, correct?
Aaron Meurer
@asmeurer
Yes
Thomas Aarholt
@thomasaarholt
Hiya, I'm about to submit a PR for cupy support on top of #20271
Just a quick question: The numeric computation docs mention Theano support, but I was unable to get that to work. Does it currently work?
Thomas Aarholt
@thomasaarholt
Scratch that, a quick search among the GH repo issues shows that it should work fine. I wonder where I went wrong!
AbhishekS78
@AbhishekS78
hello everyone,
can anyone tell me if sympy is participating in GSoC 2021 or not?
if yes then, can anyone show me the direction for GSoC 2021 for sympy organization, I am very much interested in contributing
petschge
@petschge
Any ideas why I run into the issue reported at sympy/sympy#20629 ?
kunalsingh2002
@kunalsingh2002
Hello Mentors , I'm KUNAL SINGH 2nd year computer science undergraduate from IIT Kharagpur, India , I'm very much interested in contributing to sympy but I'm unable to find a starting point , can anyone help me with this ?
Suryam Arnav Kalra
@suryam35
Hi developers !
I am Suryam Arnav Kalra , second year undergraduate student in Computer Science and Engineering department at IIT Kharagpur , India.
I am a beginner in open source and i am interested in contributing to Sympy. It would be really great if you could help me get a starting point to begin my journey.
Hi @kunalsingh2002 @suryam35, you guys 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.
Thomas Aarholt
@thomasaarholt
Hiya. Given func = sp.lambdify(args, expr), is it possible to print the "string" that lambdify compiles, ie. the expression that is eventually called by numpy (or mpmath)?
Aaron Meurer
@asmeurer
@thomasaarholt yes, you can look at inspect.getsource(func), or just func?? in ipython
Craig Russell
@ctr26
"Does anyone know how to give sympy known identies to help it with tricky integrals? I'm doing an integral across all space for a bessel function and I have a neat identity which I think would help sympy to solve it."
The manual integrate module was suggested but the identity I have is for a definite integral
And I don't think manual integrate works with definite integral rules?
Eva Tiwari
@evatiwari
I have a doubt which is not exactly SymPy related, but it might help me out with an issue. What is the difference between tensor product of two matrices and two bras/kets? Why is it that the dagger of one does not change the order, while that of the other does?
Eva Tiwari
@evatiwari
@ctr26 could you open an issue for the same? There is a function called heurisch(), which deals with Bessel functions, but it is only for indefinite integrals and is based off of a slow algorithm. I did not find any option which is as good as manual integrate (which, you are right, does not work with rules for definite integrals).
Craig Russell
@ctr26
Have done thanks
What does it mean when heurisch never returns an output?
Eva Tiwari
@evatiwari
@ctr26 it hangs, on interrupting the process it shows the traceback.
Craig Russell
@ctr26
Lambda_0*((-r + x/M)*exp((-(-r + x/M)**2 - y**2/M**2)/(2*\sigma_g**2)) - (r + x/M)*exp((-(r + x/M)**2 - y**2/M**2)/(2*\sigma_g**2)))**2/(2*pi*M**2*\sigma_g**6*(exp((-(-r*sin(2*pi/m) + y/M)**2 - (-r*cos(2*pi/m) + x/M)**2)/(2*\sigma_g**2)) + exp((-(-r*sin(4*pi/m) + y/M)**2 - (-r*cos(4*pi/m) + x/M)**2)/(2*\sigma_g**2))))

and

16*Lambda_0*(-M*x_0_tau + x)**2*(M*lambda*besselj(1, 2*pi*n_a*sqrt(M**2*x_0_tau**2 + M**2*y_0_tau**2 - 2*M*x*x_0_tau - 2*M*y*y_0_tau + x**2 + y**2)/(M*lambda)) - pi*n_a*sqrt(M**2*x_0_tau**2 + M**2*y_0_tau**2 - 2*M*x*x_0_tau - 2*M*y*y_0_tau + x**2 + y**2)*besselj(0, 2*pi*n_a*sqrt(M**2*x_0_tau**2 + M**2*y_0_tau**2 - 2*M*x*x_0_tau - 2*M*y*y_0_tau + x**2 + y**2)/(M*lambda)))**2/(pi*lambda**2*(M**2*x_0_tau**2 + M**2*y_0_tau**2 - 2*M*x*x_0_tau - 2*M*y*y_0_tau + x**2 + y**2)**3)

Trying to integrate either of these across infinity in x

sympy.Integral(integrand,(x,-sympy.oo,sympy.oo)).doit()

StackTraces respective:
https://pastebin.com/FTafTjF9
https://pastebin.com/u9NTQPib

Neither converges " @evatiwari

Craig Russell
@ctr26
These stack traces after running it for a bit longer
https://pastebin.com/SCHykTyR https://pastebin.com/WRgXuTHu
Eva Tiwari
@evatiwari
I'll try looking into this. If I find something I'll let you know.