[sympy] Re: Guiding Sympy though trig substitutions

2014-02-19 Thread Chris Smith
ALSO -- Fu, et al., have already thought a lot about trig simplification and if you just run fu(expr) you may get what you are looking for: >>> ok = fu(P.expand()); print filldedent(ok) D**2 + 2*D*F*sin(x) + 2*D*G*cos(x) + 2*D*H*sin(2*x) + 2*D*J*cos(2*x) + F**2*(-cos(2*x)/2 + 1/2) + F*G*sin(2*x)

[sympy] Re: Guiding Sympy though trig substitutions

2014-02-19 Thread Chris Smith
Regarding the naming of the Fu transformations -- in keeping with the paper (and anyone else who uses the Fu method) I think it wise to leave the names alone. This doesn't preclude the use of aliases, however, and anyone doing this work can easily write their own aliases. And don't forget to re

Re: [sympy] Multiple dispatch

2014-02-19 Thread Aaron Meurer
On Wed, Feb 19, 2014 at 7:14 PM, Matthew Rocklin wrote: > My guess is that Mul and Add will always just create Add and Mul objects. > Other functions will then be used to perform various simplifications on > these lists. > > This is how sets work with Union and Intersection. You call Union(a, b,

Re: [sympy] Multiple dispatch

2014-02-19 Thread Matthew Rocklin
My guess is that Mul and Add will always just create Add and Mul objects. Other functions will then be used to perform various simplifications on these lists. This is how sets work with Union and Intersection. You call Union(a, b, c, d) where a, b, c, d are all sets. This makes a Union object co

Re: [sympy] Multiple dispatch

2014-02-19 Thread Aaron Meurer
SymPy already has a pretty widely used single dispatch system (the _eval_* methods). Multiple dispatch would be useful for any operation that has more than one argument. I hardly have to convince you of the advantage of this approach. The challenge is operations like Add and Mul that take an arbit

Re: [sympy] Laplace transform

2014-02-19 Thread Aaron Meurer
Yes, it's called laplace_transform. http://docs.sympy.org/latest/modules/integrals/integrals.html#sympy.integrals.transforms.laplace_transform Aaron Meurer On Wed, Feb 19, 2014 at 8:18 AM, Jigar Mistry wrote: > in sympy there is any module that calculate laplace transform? > > -- > You received

Re: [sympy] Re: Issue migration from Google Code to GitHub

2014-02-19 Thread Aaron Meurer
Are they OK with creating a dummy user for this? Aaron Meurer On Wed, Feb 19, 2014 at 3:04 AM, Sergey B Kirpichev wrote: > On Tue, Feb 18, 2014 at 05:15:49PM -0600, Aaron Meurer wrote: >> Who will be the default user for the sympy import? > > It can be specified, as I think to any sympy's develo

[sympy] Multiple dispatch

2014-02-19 Thread Matthew Rocklin
I've recently become interested in multiple dispatch. I know that this has been a topic of conversation before. Can anyone point me to relevant threads? I've gone through the recent PR by @Upapjojr https://github.com/sympy/sympy/pull/2680 . In particular: 1. What are the strong use cases for

[sympy] Re: GSoC 2014 - Efficient Groebner bases and their applications

2014-02-19 Thread Zamrath Nizam
Thanks for the hint mario. I could find the source already implemented. Could you please clarify me the following questions too. 1. If the F4 is to be implemented should it use the *F5 algorithm* as well to assist in computing the Groebner basis? 2. From the *efficiency* point of view the F4 ov

[sympy] Re: Feedback on step-by-step thought

2014-02-19 Thread RAJAT AGGARWAL
Proper implementation of step derivations is now there at https://github.com/sympy/sympy/pull/2933 . Please have a look at it and give your feedback. Rajat Aggarwal -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and s

[sympy] Laplace transform

2014-02-19 Thread Jigar Mistry
in sympy there is any module that calculate laplace transform? -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com. To post to this group

Re: [sympy] Re: Electrodynamics in Physics Module

2014-02-19 Thread Rajath Shashidhara
Hello Alan, I don't understand what you mean. I mean to say, sympy must be able to symbolically convert a surface integral into volume integral(vice versa) using divergence theorem(line integral to area integral using stokes theorem). In this case, I'm talking about prasoon's vector module. Using

[sympy] Re: GSoC 2014 - Efficient Groebner bases and their applications

2014-02-19 Thread mario
FGLM is in fglmtools.py, polytools.py On Tuesday, February 18, 2014 7:15:29 PM UTC+1, Zamrath Nizam wrote: > > Hi, > > I am Zamrath Nizam; a third year undergraduate; from Department of > Electronic and Telecommunication Engineering in University of Moratuwa, > Sri Lanka

Re: [sympy] Re: Issue migration from Google Code to GitHub

2014-02-19 Thread Sergey B Kirpichev
On Tue, Feb 18, 2014 at 05:15:49PM -0600, Aaron Meurer wrote: > Who will be the default user for the sympy import? It can be specified, as I think to any sympy's developer. Quote support: --->8--- By default, the fallback user will be the user on who's behalf we are doing the import. However, we