GSoC Idea Discussion

81 views
Skip to first unread message

Aditya Kumar Gupta

unread,
Mar 11, 2021, 10:00:24 AM3/11/21
to sympy
Hello Everyone,

I would to take Project as Solvers.  As i have a knowledge in Algebraic and differential equations .I think it would be a good topic for me and i can contribute better in this project.


Warm Regards,
Aditya Kumar Gupta

Sayantan dhara

unread,
Mar 11, 2021, 1:54:27 PM3/11/21
to sympy
Hello everyone,
I am Sayantan Dhara, an undergraduate student from India. I would love to contribute to the project name -
"Classical Mechanics: Efficient Equation of Motion Generation with Python"
Could you elaborate on the project and give me few suggestions on how to begin. 
Thanks in advance.

Rohan Gupta

unread,
Mar 11, 2021, 1:54:27 PM3/11/21
to sympy
Hello Everyone,
I'm interested in working on numerical integration techniques for functions. I've worked on Sympy before and am familiar with the code. Can anyone please guide me on how to pursue this? 

I have multiple years of coding experience and am really looking to learn.

Sincerely,
Rohan Gupta.

Oscar Benjamin

unread,
Mar 11, 2021, 2:03:56 PM3/11/21
to sympy
On Thu, 11 Mar 2021 at 18:54, Rohan Gupta <rohan...@gmail.com> wrote:
>
> I'm interested in working on numerical integration techniques for functions.

Is this listed on the ideas page somewhere?

In general numerical techniques are out of scope for sympy and should
be implemented in mpmath or numpy/scipy etc. The idea is that sympy
should use the routines from e.g. mpmath rather than implement its own
numerical algorithms.

There are some algorithms already implemented in mpmath though that
are not used in sympy. For example in sympy you can do:

In [164]: Integral(x, (x, 0, 1)).evalf()
Out[164]: 0.500000000000000

Under the hood this calls mpmath's quad function (I think). This
doesn't work for multiple integrals though:

In [165]: Integral(x*y, (x, 0, 1), (y, 0, 1)).evalf()
Out[165]:
1 1
⌠ ⌠
⎮ ⎮ x⋅y dx dy
⌡ ⌡
0 0

It should be relatively straight-forward to make that work because
mpmath's quad function can handle multiple integrals:

https://mpmath.org/doc/current/calculus/integration.html#standard-quadrature-quad

--
Oscar

Rohan Gupta

unread,
Mar 12, 2021, 3:57:45 AM3/12/21
to sympy
No, this isn't listed on the ideas page. 
I just thought it would be an interesting idea that could be implemented on a larger range of functions.

If this isn't a good enough idea, I'd love to work on calculus-related projects such as Risch algorithm or other ODE related projects. Could you guide me with this?

Rohan Gupta

unread,
Mar 12, 2021, 3:59:44 AM3/12/21
to sympy
If not, I know there happen to be a number of problems with respect to the 2/3 arg mul. I would also like to try and attempt to fix that from all the possible angles - fixing all the dependent code after considering the effects on downstream projects.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages