Re: [sympy] Re: SymPy documentation website down

2022-04-19 Thread Jason Moore
Aaron, Thanks. That's surprisingly useless. They only say you violate copyright but not what that violation exactly is. I'm sorry you all are having to deal with this. If you need help with anything let me know. Jason moorepants.info +01 530-601-9791 On Wed, Apr 20, 2022 at 6:31 AM Aaron

Re: [sympy] Re: SymPy documentation website down

2022-04-19 Thread Aaron Meurer
Hi Jason. We were sent the same DMCA notice that is posted on GitHub's DMCA repo, which I linked to above. Aaron Meurer On Tue, Apr 19, 2022 at 10:23 PM Jason Moore wrote: > > Aaron, > > Can you share the email you are sent that says precisely what the copyright > violation is? > > Jason >

Re: [sympy] Re: SymPy documentation website down

2022-04-19 Thread Jason Moore
Aaron, Can you share the email you are sent that says precisely what the copyright violation is? Jason moorepants.info +01 530-601-9791 On Wed, Apr 20, 2022 at 4:57 AM Jeremy Monat wrote: > Oh, good news on HackerNews > : > > Hello again, Vivek,

[sympy] Re: Keeping expressions short and concise

2022-04-19 Thread Andre Bolle
Jonathan, I managed to install. python -m pip install --user Algebra_with_Sympy Here's what I did. You will notice that the second derivative couldn't see the 'x', which had been replaced by psi. I do like the equation annotation. (eq1), (eq2), (eq3), etc. Nice. Andre On Tuesday, April 19,

Re: [sympy] Re: SymPy documentation website down

2022-04-19 Thread oliphant
I would not be surprised if the opposite happened. They likely copied a snippet from one of the SymPy examples on that page to use in a test question. Then, their hired-gun using an automated tool found the similarity between their code and the SymPy example. This is a clear example of not

Re: [sympy] Re: SymPy documentation website down

2022-04-19 Thread Jeremy Monat
Oh, good news on HackerNews : Hello again, Vivek, founder/CEO here. In the interest of moving swiftly, > here are the actions we are going to take: > > (1) We have withdrawn the DMCA notice for sympy; Sent a note to senior > leadership in Github to

Re: [sympy] Re: SymPy documentation website down

2022-04-19 Thread Jeremy Monat
Hopefully this can get resolved soon! So is HackerRank's contention that one of the examples on our solvers page was taken from their site, for example one of their quizzes? Jeremy Monat On Tue, Apr 19, 2022 at 10:50 PM oliphant wrote: > By the way, because I get to work with Aaron, I was

[sympy] Re: SymPy documentation website down

2022-04-19 Thread oliphant
By the way, because I get to work with Aaron, I was chatting about this with him. I saw the CEO post on Hacker News and I've reached out to him asking him to rescind the DMCA notice. This is likely the fastest way to get the site back up -- though it will still take a couple of days, I

Re: [sympy] Keeping expressions short and concise

2022-04-19 Thread Alan Bromborsky
This might be relevant - https://physics.stackexchange.com/questions/32296/introduction-to-differential-forms-in-thermodynamics If you find anything of interest in the link you should check it out with someone in the math department.  The limit to my knowledge of differential forms is that dx

[sympy] SymPy documentation website down

2022-04-19 Thread Aaron Meurer
Hi All. As some of you may have noticed, the SymPy documentation site is currently down. This is due to a complaint that has been filed to GitHub under the DMCA by HackerRank. You can read the complaint here

Re: [sympy] Faster symbolics

2022-04-19 Thread Aaron Meurer
On Tue, Apr 19, 2022 at 7:31 AM Ondřej Čertík wrote: > > Hi Alan! > > Indeed, parallelism is another avenue. SymEngine can be compiled in a > "thread-safe" mode, which enables to then use it in parallel. It's slightly > slower, since the reference counted pointer becomes an atomic (so the idea

Re: [sympy] Parsing expressions problem | "ImportError: Clang is not installed, cannot parse C code"

2022-04-19 Thread Audrius-St
Okay, I found "python-clang" on conda-forge and installed it. $ conda list python-clang # NameVersion Build Channel python-clang 13.0.1 default_hccd1708_0conda-forge I now receive the error message: NotImplementedError: Only bool,

Re: [sympy] Parsing expressions problem | "ImportError: Clang is not installed, cannot parse C code"

2022-04-19 Thread Isuru Fernando
It should be python-clang. Isuru On Tue, Apr 19, 2022 at 2:23 PM Aaron Meurer wrote: > The error message should be improved there. You need clang-python. > > Aaron Meurer > > On Tue, Apr 19, 2022 at 1:20 PM Audrius-St > wrote: > > > > Hello, > > > > I am attempting to parse C code into Python

Re: [sympy] Parsing expressions problem | "ImportError: Clang is not installed, cannot parse C code"

2022-04-19 Thread Audrius-St
Thanks for your prompt reply. What is "clang-python" and from where may I download it? A search on "clang-python" did return anything obvious. I suggest that the documentation be updated with this required information. On Tuesday, April 19, 2022 at 3:23:38 PM UTC-4 asme...@gmail.com wrote: >

Re: [sympy] Parsing expressions problem | "ImportError: Clang is not installed, cannot parse C code"

2022-04-19 Thread Aaron Meurer
The error message should be improved there. You need clang-python. Aaron Meurer On Tue, Apr 19, 2022 at 1:20 PM Audrius-St wrote: > > Hello, > > I am attempting to parse C code into Python using SymPyExpression but am > receiving the error message "ImportError: Clang is not installed, cannot

[sympy] Parsing expressions problem | "ImportError: Clang is not installed, cannot parse C code"

2022-04-19 Thread Audrius-St
Hello, I am attempting to parse C code into Python using SymPyExpression but am receiving the error message "ImportError: Clang is not installed, cannot parse C code" However, I'm quite certain that I have Clang installed $ conda list clang # NameVersion Build Channel

Re: [sympy] Keeping expressions short and concise

2022-04-19 Thread Alan Bromborsky
Since I have no rant control I proselytize the following graphics software (free) for generating publication quality graphics whenever I have a likely target - https://galgebra.readthedocs.io/en/latest/ look at the "3D Graphs" and "WebGL" galleries.  I especially like this one (you can zoom,

Re: [sympy] Keeping expressions short and concise

2022-04-19 Thread Jonathan Gutow
On Apr 19, 2022, at 12:20 PM, Alan Bromborsky mailto:abrombo...@gmail.com>> wrote: I don't think sympy can return f for the integral of (df/dx)dx without first differentiating and then integrating. Alan, Yep, that is essentially the sticking point. It relates to the fact that there is no

Re: [sympy] Keeping expressions short and concise

2022-04-19 Thread Alan Bromborsky
Look at - https://galgebra.readthedocs.io/en/latest/ gradient (geometric derivative) and associated operators implemented with the same interface.  Nothing to do with integration implemented.  Attached is the code for Dop.py and the test code in Jupyter notebook.  The problem with the

Re: [sympy] Keeping expressions short and concise

2022-04-19 Thread Jonathan Gutow
Alan, I have thought about this a little too. I have not had time to work on it recently. The issue I ran into is that to make this work well in SymPy you really need the concept of an infinitesimal dx, dy, dz, etc. Things got circular when I tried to implement that using the sympy definition

[sympy] Re: Keeping expressions short and concise

2022-04-19 Thread gu...@uwosh.edu
> pip install -U Algebra-with-SymPy >... lots of stuff, followed finally by >ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied: 'C:\\Users\\python\\AppData\\Local\\Temp\\pip-uninstall-pns2p03y\\jupyter-kernel.exe' >Consider using the `--user` option or check the

[sympy] Introduction

2022-04-19 Thread Andre Bolle
Hi, I recently started to learn sympy, as it is a useful tool to investigate so many areas of mathematics which interest me. Most recently Lagrange and quantum mechanics. I'd like to shout out a massive thanks to all the devs. Sympy, the best thing since pencil and paper. André -- You

[sympy] Re: Keeping expressions short and concise

2022-04-19 Thread Andre Bolle
That is precisely what I was looking for. On Tuesday, April 19, 2022 at 3:24:00 PM UTC+1 gu...@uwosh.edu wrote: > Alternative path that works better with complicated derivatives. Also > shows the nicer output inside Jupyter notebooks. > [image: Screen Shot 2022-04-19 at 9.23.21 AM.png] > > On

Re: [sympy] GSoC Project: Rebuilding SymPy Gamma using Pyodide

2022-04-19 Thread Aman Sharma
""" Something I would like to know more about is what adding a new feature would look like on the technical side. """ Adding a new feature like a new card could be done entirely in python. The Pyodide coderunner handles the input expression provided by javascript and returns the cards in the

[sympy] Re: Keeping expressions short and concise

2022-04-19 Thread Andre Bolle
Jonathan, Hi there and thanks for your assistance. Is this the behavior I am trying to get? Quite possibly. Having trouble installing "algebra_with_sympy". Do I need to be admin? My installation attempt is as follows: pip install -U Algebra-with-SymPy ... lots of stuff, followed finally by

[sympy] Re: Keeping expressions short and concise

2022-04-19 Thread gu...@uwosh.edu
Alternative path that works better with complicated derivatives. Also shows the nicer output inside Jupyter notebooks. [image: Screen Shot 2022-04-19 at 9.23.21 AM.png] On Tuesday, April 19, 2022 at 8:16:25 AM UTC-5 gu...@uwosh.edu wrote: > Is this the behavior you are trying to get? > > > >>>

Re: [sympy] Faster symbolics

2022-04-19 Thread Ondřej Čertík
Hi Alan! Indeed, parallelism is another avenue. SymEngine can be compiled in a "thread-safe" mode, which enables to then use it in parallel. It's slightly slower, since the reference counted pointer becomes an atomic (so the idea below about not using reference counted pointers might help here

[sympy] Re: Keeping expressions short and concise

2022-04-19 Thread gu...@uwosh.edu
Is this the behavior you are trying to get? >>> from algebra_with_sympy import * >>> algwsym_config.output.human_text=True >>> var('psi k x') (psi, k, x) >>> eq1=Eqn(psi, exp(I*k*x)) >>> eq1 psi = exp(I*k*x) >>> eq2 =diff(eq1,x) >>> eq2 Derivative(psi, x) = I*k*exp(I*k*x) >>>

[sympy] Keeping expressions short and concise

2022-04-19 Thread Andre Bolle
When I differentiate the function ψ = exp(I*(k*x)) I get i*k*exp(I*(k*x)).[which is i*k*ψ] Is there a way to get exp(I*(k*x)) substituted with ψ, in order to get the shorter expression i*k*ψ ? Thanks, André -- You received this message because you are subscribed to the Google

Re: [sympy] Faster symbolics

2022-04-19 Thread Alan Bromborsky
For speed up how about parallel processing?  Looking at Ryzen processors 16 cores and 32 threads are quite affordable these days.  Is parallel python mature code these days? On 4/18/22 11:45 PM, Ondřej Čertík wrote: Hi, I am CCing the symengine list also. Let me say a few words about the

[sympy] Re: Two-line function to make expressions callable.

2022-04-19 Thread emanuel.c...@gmail.com
Try : In [1]: from sympy import Lambda In [2]: help(Lambda) HTH, ​ Le lundi 18 avril 2022 à 12:12:31 UTC+2, andre...@gmail.com a écrit : > Sorry about the spelling. I meant to write "A function which I find quite > useful." > > def mkfun(expr): > free = list(ordered(expr.free_symbols))