Status (was Re: ANNOUNCE: PySymbolic - ...)
Pearu Peterson
pearu at ioc.ee
Fri Oct 13 14:40:18 EDT 2000
Hi!
I have done some reorganization for the PySymbolic project:
*** It can be downloaded from
http://cens.ioc.ee/projects/pysymbolic/
*** Fixed file naming conventions (I hope it now works on Windows)
*** Source is now available also from CVS. Latest PySymbolic can be
loaded as
http://cens.ioc.ee/projects/pysymbolic/rel-0.x/pysymbolic-0.latest.tgz
*** It seems to me that it is time to move this discussion to somewhere
else. For that I have created a PySymbolic users lists. Please,
subscribe it from
http://cens.ioc.ee/mailman/listinfo/pysymbolic-users/
*** I have implemented the differentiation feature. To whet you appetite,
consider the following Python session:
Python 1.5.2 (#8, Apr 20 2000, 12:39:28) [GCC egcs-2.91.66 19990314/Linux
(egcs- on linux2
Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
>>> from Symbolic import *
>>> x,f,g = Symbolic('x'), Symbolic('f'), Symbolic('g')
>>> print diff(3*x**2-4*x+5,x).simplify()
-4 + 6 * x
>>> print diff(f(x)*g(x),x)
f_0(x) * g(x) + f(x) * g_0(x)
>>> print diff(f(g(x)),x)
f_0(g(x)) * g_0(x)
>>> print diff('sin(cos(x))',x)
-cos(cos(x)) * sin(x)
>>> print diff(f(g(x+1),'h(x-1)'),x)
f_0(g(x + 1), h(x - 1)) * g_0(x + 1) + f_1(g(x + 1), h(x - 1)) * h_0(x - 1)
>>>
*** I started to create a list for TODO. See the `Help needed' section on
the homepage. Contributions and comments are most welcome.
Regards,
Pearu
More information about the Python-list
mailing list