faqts : Computers : Programming : Languages : Python : Common Problems : Maths

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

5 of 7 people (71%) answered Yes
Recently 3 of 5 people (60%) answered Yes

Entry

Is anyone aware of a Computer Algebra System (CAS) i.e a mathematical software that is able to derivate, integrate, simplify, find limits, analytically - in python?

Jun 20th, 2000 19:31
unknown unknown, Konrad Hinsen, Jonathan Epstein, Matt Feinstein


Pythonica isn't there yet, but it's an interesting start. More at:

       http://www.strout.net/python/pythonica.html

------------

Matlab has an interface to Maple (their "Symbolic Toolbox", I think).

It might be useful to study their API, and emulate it in a reasonable
(and hopefully legal) fashion in Python.

It's pretty simple, at least from the user's point of view. You
declare your symbolic variables a la

sym x y z;

and then just go ahead and use the symbolic variables in the
interpreter in algebraic or arithmetic expressions the same way you
would use numerical expressions-- all the arithmetic and algebraic
operators used by the interpreter are appropriately overloaded. There
is an accompanying suite of functions and state variables that control
how the symbolic stuff is done. There is also an 'Extended' symbolic
toolbox that gives the user direct access to the Maple kernel.