Re: [sympy] Uses of SymPy in biology

2020-07-17 Thread Gagandeep Singh (B17CS021)
Hi, May be, http://pysb.org/ With Regards, Gagandeep Singh Github - https://github.com/czgdp1807 LinkedIn - https://www.linkedin.com/in/czgdp1807 On Sat, 18 Jul, 2020, 5:15 AM Aaron Meurer, wrote: > I am looking into potentially submitting a proposal for a CZI grant > for SymPy at some point

[sympy] Uses of SymPy in biology

2020-07-17 Thread Aaron Meurer
I am looking into potentially submitting a proposal for a CZI grant for SymPy at some point in the future. However, in order to do this, we need to demonstrate that SymPy is used in biology or biomedicine. If anyone is aware of people or libraries that make use of SymPy in a bio field, please let

Re: [sympy] Particular solution of Diophantine equation

2020-07-17 Thread Faisal Riyaz
> > If you have three unknowns is it possible to end up with more than > three parameters in the solution? > Yes, the number of parameters cannot be more than 3. > Another possibility is an iterator that gives symbols. > Yes, returning an iterator seems like a good solution. Faisal On Fri,

Re: [sympy] Particular solution of Diophantine equation

2020-07-17 Thread Oscar Benjamin
On Fri, 17 Jul 2020 at 15:02, Faisal Riyaz wrote: > > I think we should put this on the docs page of the diophantine. I agree >> Alternatively it should be possible to provide the symbols directly: >> >> sol, = diophantine(x + y + z, [t_0, t_1]) > > If the user does not have any idea about the

Re: [sympy] lambdify list of arguments converted silently, why not throw a warning?

2020-07-17 Thread roberto franceschini
FYI https://github.com/sympy/sympy/pull/19792 On Fri, Jul 17, 2020 at 3:27 PM roberto franceschini < franceschini.robe...@gmail.com> wrote: > Thanks, I think this is why lambdify should not accept anything that > hasn't a fixed ordering - this part of lambdify was coded too lighthearted > in my

Re: [sympy] Particular solution of Diophantine equation

2020-07-17 Thread Faisal Riyaz
I think we should put this on the docs page of the diophantine. Alternatively it should be possible to provide the symbols directly: > > sol, = diophantine(x + y + z, [t_0, t_1]) > If the user does not have any idea about the number of parameters in the solution, this won't work. Thanks Faisal

Re: [sympy] lambdify list of arguments converted silently, why not throw a warning?

2020-07-17 Thread roberto franceschini
Thanks, I think this is why lambdify should not accept anything that hasn't a fixed ordering - this part of lambdify was coded too lighthearted in my opinion. So I am working on a pull request but I would like to have some discussion on what to do to make lambdify better in this sense. At this

Re: [sympy] Particular solution of Diophantine equation

2020-07-17 Thread Oscar Benjamin
On Fri, 17 Jul 2020 at 13:42, Faisal Riyaz wrote: > > How can I get a single solution of a diophantine equation when the solution > is returned > in terms of independent parameters? > > >>> from sympy.abc import x, y, z, t > >>> from sympy import diophantine, Symbols > >>> diophantine(x + y + z,

Re: [sympy] lambdify list of arguments converted silently, why not throw a warning?

2020-07-17 Thread Jared Claypoole
Hi Roberto, It looks like you're expecting python sets to do something they're not intended to do. From the docs , "A set object is an unordered collection". Of course when you iterate over all the elements they have

[sympy] Particular solution of Diophantine equation

2020-07-17 Thread Faisal Riyaz
How can I get a single solution of a diophantine equation when the solution is returned in terms of independent parameters? >>> from sympy.abc import x, y, z, t >>> from sympy import diophantine, Symbols >>> diophantine(x + y + z, t) {(t_0, t_1, -t_0 - t_1)} >>> x, y, z = _.pop() Substitution