Re: [sympy] Gsoc Project idea " Efficient Equation of MotionGeneration with Python" discussion.

2019-03-14 Thread Oscar Gustafsson
I am personally not convinced that Karatsuba, Coppersmith-Winograd and Strassen will provide much help here. Basically because only rarely, the size of the problem is the main issue. These algorithms show excellent asymptotic behaviour, but also has an overhead which leads to that quite large

Re: [sympy] Re: Introduction to community-GSoC'19

2019-03-14 Thread Oscar Gustafsson
Den tors 14 mars 2019 kl 08:31 skrev Bhavya Chawla : > As no update is received so should I consider it as the sympy team isn't > interested in my proposal? > Not necessarily. You need to consider that people have other things to do and that not every area have a mentor yet. I believe that you

Re: [sympy] Re: Azure pipelines

2019-01-31 Thread Oscar Gustafsson
What about code coverage? If I understand it correctly the tests take to long on Travis to include code coverage (just an impression I got while browsing Issues, no idea how it works in practice). Maybe there is something nifty built in on Azure Pipelines that can be used for that? Or if it

Re: [sympy] xscale='log' seems to be broken in v.1.4

2019-05-09 Thread Oscar Gustafsson
There is a fix in https://github.com/sympy/sympy/pull/16796 which I think should solve it. Thanks for reporting it. You may report any additional bugs at https://github.com/sympy/sympy/issues (although this clearly also worked well). BR Oscar Den tors 9 maj 2019 kl 17:26 skrev Javier Arantegui

Re: [sympy] Starting to think about 1.5 release

2019-08-13 Thread Oscar Gustafsson
These are the current release notes, so nothing summarized really: https://github.com/sympy/sympy/wiki/Release-Notes-for-1.5 BR Oscar Den tis 13 aug. 2019 21:48David Bailey skrev: > On 12/08/2019 22:27, Aaron Meurer wrote: > > Now that GSoC is wrapping up (this is the last week), I'd like to

Re: [sympy] Should symbolic integration fail gracefully?

2019-08-22 Thread Oscar Gustafsson
The bug was fixed in https://github.com/sympy/sympy/pull/17343 but is not merged (yet). Hopefully it happens soon. BR Oscar Den ons 21 aug. 2019 20:33Aaron Meurer skrev: > On Wed, Aug 21, 2019 at 3:10 AM David Bailey wrote: > > > > On 20/08/2019 23:35, Oscar Benjamin wrote: > > > > Hi

Re: [sympy] Comparing a cse'd expr with the original

2020-10-23 Thread Oscar Gustafsson
doesn't crash for large expressions. > > Jason > moorepants.info > +01 530-601-9791 > > > On Thu, Oct 22, 2020 at 6:49 PM Oscar Gustafsson < > oscar.gustafs...@gmail.com> wrote: > >> How much do they differ? I checked the issue and the latest result wasn't >&

Re: [sympy] Comparing a cse'd expr with the original

2020-10-22 Thread Oscar Gustafsson
How much do they differ? I checked the issue and the latest result wasn't that bad, although probably too much to blame floating-point errors. However, if you push the numerical range into e.g. denormalized numbers I guess it can simply be that. Not very likely though. Is it still that type of

Re: [sympy] Linear Inequality Simplifier

2021-02-18 Thread Oscar Gustafsson
After currently using Mathematica for similar things, I would just like to encourage you to provide some nice method to simplify constraints of piecewise functions using your simplifier, including additional constraints on the range of variables (as SymPy doesn't have a way to put ranges on

Re: [sympy] Linear Inequality Simplifier

2021-02-18 Thread Oscar Gustafsson
Den tors 18 feb. 2021 kl 14:36 skrev Oscar Benjamin < oscar.j.benja...@gmail.com>: > On Thu, 18 Feb 2021 at 11:32, Oscar Gustafsson > wrote: > > > > After currently using Mathematica for similar things, I would just like > to encourage you to provide some nice met

Re: [sympy] How to create a symbol with greek subscript

2021-09-28 Thread Oscar Gustafsson
Symbol('x_alpha_beta') # SymPys own magic, works for pretty printer as well Symbol('x_{\\alpha \\beta}') # Escape the \ Symbol(r'x_{\alpha \beta}') # Python "raw" string, no need to escape BR Oscar Den tis 28 sep. 2021 kl 16:15 skrev Paul Royik : > I'm trying to create a symbol, where both

Re: [sympy] IexFinder and SymPy Gamma

2021-11-19 Thread Oscar Gustafsson
Multi-variate extreme value calculations would indeed be a useful addition to SymPy (and therefore to SymPy Gamma, although I do not know how often SymPy Gamma updates SymPy version). BR Oscar Den tors 18 nov. 2021 22:28Zoufiné Lauer-Baré skrev: > > Dear SymPy Community, > > the IexFinder:

Re: [sympy] symbol with double colon

2021-11-11 Thread Oscar Gustafsson
This behavior is from the Python tokenizer. In [13]: input_code = StringIO('l_::p+3') In [14]: list(generate_tokens(input_code.readline)) Out[14]: [TokenInfo(type=1 (NAME), string='l_', start=(1, 0), end=(1, 2), line='l_::p+3'), TokenInfo(type=54 (OP), string=':', start=(1, 2), end=(1, 3),

Re: [sympy] Help please

2021-11-05 Thread Oscar Gustafsson
Should be a * after (r1-r3). Eq((r1-r3)*((1-cos(theta-phi)* ddotphi-sin(theta-phi)*dotphi* *2)-2*(r1-r2)*ddottheta,g*sin(theta)))],[ddottheta,ddotphi])) BR Oscar Den fre 5 nov. 2021 15:00muhammad ramadani fatsey skrev: > Traceback (most recent call last): File >

Re: [sympy] Dependencies (mpmath and rubi/MatchPy)

2022-02-01 Thread Oscar Gustafsson
lder a keep the > git history? > > On Tuesday, February 1, 2022 at 12:12:40 a.m. UTC+1 Aaron Meurer wrote: > >> On Mon, Jan 31, 2022 at 2:01 PM Oscar Benjamin >> wrote: >> > >> > On Mon, 31 Jan 2022 at 20:53, Aaron Meurer wrote: >> >

[sympy] Dependencies (mpmath and rubi/MatchPy)

2022-01-31 Thread Oscar Gustafsson
that "someone" (at least Aaron I assume) creates repos and are willing to assist in setting up deployment chains etc. I may personally not be willing to take on a larger role for any of these repos, but can definitely be part of them and assist in moving rubi. BR Oscar Gustafsson -- Yo

[sympy] Re: Dependencies (mpmath and rubi/MatchPy)

2022-01-31 Thread Oscar Gustafsson
Directly after sending the email, I found this highly relevant issue regarding mpmath: https://github.com/fredrik-johansson/mpmath/issues/550 Den mån 31 jan. 2022 kl 10:15 skrev Oscar Gustafsson < oscar.gustafs...@gmail.com>: > Dear all, > > two issues that I've been

Re: [sympy] Re: Bode_plot of transfer functions has ferqueny indicated in Hz but should be rad/s?

2022-02-07 Thread Oscar Gustafsson
Yes, it is a bug, see this much simpler example: from sympy.abc import s from sympy.physics.control.lti import TransferFunction from sympy.physics.control.control_plots import bode_plot tf = TransferFunction(100, 100+s, s) bode_plot(tf) [image: image.png] Here it is clear that the

Re: [sympy] Re: GSoC 2022:Simplex method for linear programming.

2022-04-15 Thread Oscar Gustafsson
There are two (I think, at least one) PRs that are not merged that does this. So it would be better to sort one of those out. Iirc there is limiterd work left, like documentation and testing. BR Oscar Den tors 14 apr. 2022 19:54Qijia Liu skrev: > SciPy has simplex method implemented. Do we

[sympy] Grace Hopper Celebration Open Source Day

2022-06-15 Thread Oscar Gustafsson
Not sure if you've seen this, but: https://ghc.anitab.org/programs-and-awards/open-source-day/ Basically, it is a seven hour hackathon to get more females involved in open source. If SymPy wants to join, I have already registered as a mentor, so feel free to add me if required. (I will not be

Re: [sympy] Grace Hopper Celebration Open Source Day

2022-06-15 Thread Oscar Gustafsson
Not sure where it says, but Friday September 16 8 am to 15 pm pacific time. Den ons 15 juni 2022 22:45Aaron Meurer skrev: > Is it just me, or does that site never actually specify when this "open > source day" actually is? > > Aaron Meurer > > On Wed, Jun 15, 2022

Re: [sympy] Release SymPy 1.11 soon

2022-06-18 Thread Oscar Gustafsson
I've marked a few PRs as candidates to be merged, one requires resolving merge conflicts, but as far as I can tell there are no major arguments against merging them. Feel free to remove the milestone and point out what still may be missing. BR Oscar Den lör 18 juni 2022 kl 13:32 skrev Oscar

Re: [sympy] Fine tunning of sympy plot

2022-11-24 Thread Oscar Gustafsson
I think one way (the one I use) is to use lambdify to get a function that can generate a NumPy output from a NumPy input and then just rely on Matplotlib. The drawback is that you will have to specify the input in some way and that parts of the "clever" sampling that SymPy does (and maybe handle