Re: [sympy] Easy way to use S()

2023-07-07 Thread gu...@uwosh.edu
David, I will work to get this into Algebra_with_Sympy quickly. I will post when I complete the next release. Since these ease of use issues are not cleanly addressable within SymPy proper, maybe you can think of Algebra_with_SymPy as your interactive front-end for sympy. Jonathan On

Re: [sympy] Easy way to use S()

2023-07-07 Thread David Bailey
On 07/07/2023 10:09, Isuru Fernando wrote: Hi David, You could write a simple converter to convert all ints to sympy Integers if you are writing the code inside a function. See code below. Isuru Thanks, I can solve this problem to my satisfaction, but my main concern, as a pointed out to

Re: [sympy] Easy way to use S()

2023-07-07 Thread Isuru Fernando
Hi David, You could write a simple converter to convert all ints to sympy Integers if you are writing the code inside a function. See code below. Isuru import sympy from sympy.interactive.session import int_to_Integer import inspect import types def use_sympy_ints(f): #

Re: [sympy] Easy way to use S()

2023-07-07 Thread Aaron Meurer
On Thu, Jul 6, 2023 at 4:15 PM David Bailey wrote: > > On 05/07/2023 21:40, Aaron Meurer wrote: > > For interactive use, just passing a string to S() (or equivalently > > sympify() or parse_expr()) is the simplest way to deal with this. > > However, I would avoid this for non-interactive usage

[sympy] PLOT FUNCTION

2023-07-07 Thread Vitor rebello
Hello guys, I do not have a full developed english, please forgive me Today I tried to solved a beam exercise, but, the function that I recieved from "b.deflection" get me to a difference chart comparing to the chart optained from "b.plot_deflection()". Do any of you know how to get the