[sympy] Re: Confusion with generic functions and derivatives

2008-06-08 Thread Ondrej Certik
On Sun, Jun 8, 2008 at 1:09 AM, Rickard Armiento <[EMAIL PROTECTED]> wrote: > > Hi, > > Wow, thanks for the extremely rapid and helpful response + patch! > >> In [2]: print f(5*x).diff(x) >> 5*D(f(5*x), 5*x) > > But I am not sure how this notation can work in the general case. How > should sympy h

[sympy] Re: idea for sympy.org webpage

2008-06-08 Thread Ondrej Certik
On Tue, Jun 3, 2008 at 10:26 AM, Ondrej Certik <[EMAIL PROTECTED]> wrote: > On Wed, May 28, 2008 at 7:34 PM, alex clemesha <[EMAIL PROTECTED]> wrote: >> >> On Tue, May 27, 2008 at 6:33 AM, Ondrej Certik <[EMAIL PROTECTED]> wrote: >>> >>> Hi, >>> >> Certain limitations of the of google app engi

[sympy] Re: Questions about expression forms

2008-06-08 Thread Ondrej Certik
On Sun, Jun 8, 2008 at 6:13 AM, Mark Dewing <[EMAIL PROTECTED]> wrote: > > Several expression forms seem be reduced to a canonical form (both in > the representation and in the pretty printed output). Examples: > 1. Factorial vs. Gamma function > 2. Sqrt(radical) vs. a**(1/2) > > Is there any w

[sympy] Re: rotating metrics, simplifications

2008-06-08 Thread Ondrej Certik
On May 27, 2:29 pm, "Mateusz Paprocki" <[EMAIL PROTECTED]> wrote: > Hi, > > to improve computations speed in case of symbolic matrices (as g_dd > is) it would be convenient to use M.berkowitz_det() rather that > M.det(): > > [EMAIL PROTECTED] ~/hg/sympy $ SYMPY_USE_CACHE=no ./bin/isympy -q > Pyt

[sympy] Re: Confusion with generic functions and derivatives

2008-06-08 Thread Rickard Armiento
Hi, > Examples: > > In [1]: f(x, y).diff(x) > Out [1]: D(f(_x, y), {_x: x}) > > In [2]: f(x, x).diff(x) > Out [2]: D(f(_x, x), {_x: x})+D(f(x, _x), {_x: x}) > > In [3]: f(3*x, 5*x).diff(x) > Out [3]: 3*D(f(_x, 5*x), {_x: x})+5*D(f(3*x, _x), {_x: x}) I think this should be: In [3]: f(3*x, 5*x).d

[sympy] Re: Confusion with generic functions and derivatives

2008-06-08 Thread Ondrej Certik
On Sun, Jun 8, 2008 at 3:56 PM, Rickard Armiento <[EMAIL PROTECTED]> wrote: > > Hi, > >> Examples: >> >> In [1]: f(x, y).diff(x) >> Out [1]: D(f(_x, y), {_x: x}) >> >> In [2]: f(x, x).diff(x) >> Out [2]: D(f(_x, x), {_x: x})+D(f(x, _x), {_x: x}) >> >> In [3]: f(3*x, 5*x).diff(x) >> Out [3]: 3*D(f(

[sympy] Re: Questions about expression forms

2008-06-08 Thread Mark Dewing
Would it be useful to add a 'format hint' field to the nodes? Expressions would remain stored as they are now, but the formatters could use the hints to adjust the form of the output. For example, if a user enters sqrt(2), the hint for the Pow node would indicate 'radical'. If the user enters '2

[sympy] Re: idea for sympy.org webpage

2008-06-08 Thread Gael Varoquaux
On Thu, May 22, 2008 at 08:57:20AM +0200, Ondrej Certik wrote: > I think it's finally time to create a good webpage for sympy.org, > since we already have: > http://docs.sympy.org/ > http://wiki.sympy.org/ > http://live.sympy.org/ > http://planet.sympy.org/ > http://reviews.sympy.org/ Just a qui

[sympy] Re: replace distutils with setuptools

2008-06-08 Thread Gael Varoquaux
On Sun, Jun 01, 2008 at 06:20:44AM -0700, Vinzent Steinberg wrote: > IMHO it's awesome. Let's switch to this way of distribution of sympy > and its third party modules. (Additionally there could be of course a > tar ball with all dependencies included.) What do you think? Eggs work by monkey patc