## Where communities thrive

• Join over 1.5M+ people
• Join over 100K+ communities
• Free without limits
##### Activity
• Sep 12 01:39

• Sep 11 12:19

Implemented leading term and ns… (compare)

• Sep 10 03:21

• Sep 08 06:28

• Sep 08 03:43

Changed the outputs being retur… (compare)

• Sep 07 09:34

Changed leading term being ret… (compare)

• Sep 07 07:27

Removed Redundant block from le… (compare)

• Sep 07 02:44

anutosh491 on GSoC_Pr4.3_Implementing_some_series_method_for_uppergamma_lowergamma_expint_and_other_errors_functions

Implemented some series methods… (compare)

• Sep 06 16:44

Removed Order term (compare)

• Sep 06 11:39

added test cases for limits and… (compare)

• Sep 06 10:51

Implemented leading term and ns… (compare)

• Sep 06 10:40

anutosh491 on GSoC_Pr4.1_Implementing_few_series_methods_for_bessel_functions

• Sep 06 04:13

anutosh491 on GSoC_Pr4.1_Implementing_few_series_methods_for_bessel_functions

This commit does the following … Refactored mrv_leadterm in grun… Fixed errors arising for limits… and 3 more (compare)

• Sep 06 02:08

anutosh491 on GSoC_Pr4.1_Implementing_few_series_methods_for_bessel_functions

fix(integrals): handle degenera… functions: Generalised Dirichle… author: update Megan Ly in .mai… and 23 more (compare)

• Sep 05 14:16

anutosh491 on GSoC_Pr4.1_Implementing_few_series_methods_for_bessel_functions

Changed if condition for bessel… (compare)

• Sep 05 02:49

anutosh491 on GSoC_Pr4.1_Implementing_few_series_methods_for_bessel_functions

Improved code quality (compare)

• Sep 03 10:24

anutosh491 on GSoC_Pr4.1_Implementing_few_series_methods_for_bessel_functions

changed is function to equality… (compare)

• Sep 03 10:14

anutosh491 on GSoC_Pr4.1_Implementing_few_series_methods_for_bessel_functions

fixed failing tests (compare)

• Sep 01 12:23

anutosh491 on GSoC_Pr4.1_Implementing_few_series_methods_for_bessel_functions

Fixed code quality (compare)

• Sep 01 12:00

anutosh491 on GSoC_Pr4.1_Implementing_few_series_methods_for_bessel_functions

Added case where number of term… (compare)

Calvin Winkowski
@telnoratti
Looks like the series method is for getting a series expansion of a function. I'm calculating my coefficients directly from a recurrence relation. I'm not sure I could easily come up with a function whose expansion would match what I'm looking for. I think I got my issue sorted by using doit() on my Sums and instead of raising my polynomials to a power, doing a for loop with p_n = expand(p_n * p_1). It's not elegant, but it completes in seconds rather than OOMing my machine after several minutes. I'd guess the order term is evaluated at the end of raising something to the nth term.
Aaron Meurer
@asmeurer
the order term is probably causing things to truncate at each intermediate step. The series method should be smarter about how to expand an expression to only the given terms globally, whereas Order is likely to act greedily and not necessarily in the most efficient way.
Could anyone explain the check named "continuous-integration/travis-ci/pr" ? And what should be done to pass those tests ? (Does it take long enough to pass that test?)
Aaron Meurer
@asmeurer
We are in the process of moving from Travis to GitHub Actions. For now, Travis may take a while to complete.
5 replies
Venkatesh B H
@VenkateshBH99
Hi, devs!
This is Venkatesh from India and I’m a Computer student. I have a good grip on python .I have a few things that I’d like to improve and I need to know where can I discuss. Looking forward to contribute.
Vishesh Mangla
@Teut2711
phi0, phi1 = sm.symbols("phi_0 phi_1")
eta1 = 3/phi0**2 * (phi0*sm.coth(phi0) - 1)
eta2 = 3/phi1**2 * (phi1*sm.coth(phi1) - 1)
sm.nonlinsolve([3/15 - eta1/eta2,phi0 - 10*phi1], [phi0, phi1])
gives $\left\{\left( 10 \phi_{1}, \ \phi_{1}\right)\right\}$ . But its obvious that I need the solutions. Plz help
@utkarsh-ls
Hello !!
I am Utkarsh Upadhyay, and I am currently a second-year Computer Science Undergraduate at IIIT Hyderabad. I want to make contributions to this organization and would love to continue contributing for GSoC 2021. I would request the mentors and experienced developers to please guide me throughout the process.
Thanks
Aaron Meurer
@asmeurer
@XtremeGood it looks like a bug that it gives that
I don't know if this equation can be solved in closed form. You can try substituting phi0 for 10*phi1 in the first equation.
But even then, solve() can't solve it.
There might be a solution in terms of LambertW, but if there is, solve() doesn't know how to find it, even after rewriting the equation in terms of exp
Vishesh Mangla
@Teut2711
@asmeurer I would be happy with a numerical solution. I currently am using scipy.optimize.fsolve but I have to rewrite the equation every time. Sometimes I' m given eta and sometimes phi. With symbolic computation I could have prevented typing the expression and and given two values of phi and an eta, I could have found the eta at another fi and vice versa for two values of eta and a phi.
Taichen Rose
@willsower
Hello! I was wondering if anyone could lead me to where I can learn more about Sympy objects (performing research to see if one can pry apart a SymPy object) , or it's data structure. I've looked a lot at the documentation and wiki, but there seems to be a lot of 'how-tos' and not necessarily information about the objects themselves. Thanks in advance!
ABKor752
@ABKor752
How does print() work on matrices in sympy?
somanbhoyar
@somanbhoyar
hello! I want to know how to install Sympy from git. I am looking forward to contributing . please guide me
Akshat Sood
@akshatsood2249
Can someone please tell where can I find source code for Sympy Website?
Naveen Sai
@naveensaigit
Aaron Meurer
@asmeurer
@XtremeGood you should probably use SymPy to compute the intermediate function and then convert it with lambdify to something you can send to fsolve
Aaron Meurer
@asmeurer
Or sympy.nsolve if you want to get a numeric solution with SymPy.
ABKor752
@ABKor752
Could someone help me understand the syntax behind this test case in test_coordsysrect.py (vector module)?
I'm primarily confused by the backslash then indent
*newline
Ansh Mishra
@theanshm
the "\ " is used so that long lines of code can be continued on the next line. This is to improve readability and follow pep8 style. It allows us to open multiple files at once in the code editor without needing to scroll to read the full line of code.
Eva Tiwari
@evatiwari
Hello, I had a couple of doubts, they might seem a bit basic:
I want to import euler's constant (e) in a file in one of the modules. Can someone help me out with it?
Also, I made some changes to my clone of sympy, and i wanted to import this clone as a library and write some code with it (to test the changes). How should I proceed?
I need to use my clone as a library as I am getting an assertion error for changes made in the function, and I have no clue what is the actual output given by the new function.
Kalevi Suominen
@jksuom
From the docstring of Exp1:
    The transcendental number e = 2.718281828\ldots is the base of the
natural logarithm and of the exponential function, e = \exp(1).
Sometimes called Euler's number or Napier's constant.

Exp1 is a singleton, and can be accessed by S.Exp1,
or can be imported as E.

Examples
========

>>> from sympy import exp, log, E
>>> E is exp(1)
True
>>> log(E)
1
Eva Tiwari
@evatiwari
Ok so in that file, E has been imported as the function to calculate expected value (stats module). But this gave me a hint anyway, I'll use exp(1) instead. Thanks a lot!
If someone could help me out with the second doubt, that would be great.
Ansh Mishra
@theanshm
For your second doubt you can read through Development Workflow from wiki. Basically you need to setup a virtual environment which allows you to isolate your development version of sympy from the system wide install.
Eva Tiwari
@evatiwari
Oh, I did not know that was all that was needed, I had it set up. Thanks a lot!
aleriv-umich
@aleriv-umich
what do I need for the symbols to show up instead of functions?
kirk86
@kirk86
@aleriv-umich try sympy.init_printing()
AlexCQY
@AlexCQY
Hello may I seek help on an issue i face when running tests. Because sympy has a file named abc.py, it clashes with the python library and I could not run tests.
May I know how some of you overcame this?
The following is the ss of the error faced:
kirk86
@kirk86
Does anyone know why .dict property exists only for certain discrete random variables but not for any discrete random variable?
e.g. stats.density(X).dict
3 replies
Eva Tiwari
@evatiwari
@kirk86 I'm not sure if it would answer your question, but I have tried dealing with it in #20554 .
gopalamn
@gopalamn
I got the following travis CI error on one of the baseline jobs (#.5) and can't seem to figure out the issue, any hints?
"No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself."
Aaron Meurer
@asmeurer
@AlexCQY make sure you aren't inside of the sympy library directory when running the tests
it shouldn't be able to import abc.py as a top-level module, only as sympy.abc or .abc as a relative import.
kirk86
@kirk86

@kirk86 I'm not sure if it would answer your question, but I have tried dealing with it in #20554 .

@evatiwari Thanks!

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