Hi.
Well is there an open source computer algebra system written in python
or at least having a python interface?
I know of 2 efforts: pythonica and pyginac...are there any others?
rahul 17 2546
Rahul wrote: Hi. Well is there an open source computer algebra system written in python or at least having a python interface? I know of 2 efforts: pythonica and pyginac...are there any others?
rahul
Not in the moment. But I have a question to you: why do you seek for a
CAS in Python? I ask this because I'm interested in such kind of stuff
and secretly working on one, but this is highly experimental, a proof
of the concept work and will probably not provide the amount of
features/packages of a commercial CAS like Mathematica and Maple in a
dozend years. There are also a couple of free CAS like Octave or Yacas,
that do their job. Why do people ask periodically for a CAS in Python
in this place? I'm just curious about it.
Kay
Hi.
The reason is simple enough. I plan to do some academic research
related to computer algebra for which i need some package which i can
call as a library. Since i am not going to use the package
myself..(rather my program will)..it will be helpful to have a python
package since i wanted to write the thing in python. if none is
available then probably i will need to work on an interface to some
package written in some other language or work in that language itself.
rahul
Kay Schluehr wrote: Rahul wrote: Hi. Well is there an open source computer algebra system written in python or at least having a python interface? I know of 2 efforts: pythonica and pyginac...are there any others?
rahul
Not in the moment. But I have a question to you: why do you seek for a CAS in Python? I ask this because I'm interested in such kind of stuff and secretly working on one, but this is highly experimental, a proof of the concept work and will probably not provide the amount of features/packages of a commercial CAS like Mathematica and Maple in a dozend years. There are also a couple of free CAS like Octave or Yacas, that do their job. Why do people ask periodically for a CAS in Python in this place? I'm just curious about it.
Kay
Rahul wrote: Hi. The reason is simple enough. I plan to do some academic research related to computer algebra for which i need some package which i can call as a library. Since i am not going to use the package myself..(rather my program will)..it will be helpful to have a python package since i wanted to write the thing in python. if none is available then probably i will need to work on an interface to some package written in some other language or work in that language itself.
I've heard of people writing a Python MathLink interface to Mathematica, which
essentially turns Mathematica into a Python module. But I don't have any
references handy, sorry, and as far as I remember it was done as a private
contract. But it's doable.
Cheers,
f
Fernando Perez <fp********@gma il.com> writes: Rahul wrote:
Hi. The reason is simple enough. I plan to do some academic research related to computer algebra for which i need some package which i can call as a library. Since i am not going to use the package myself..(rather my program will)..it will be helpful to have a python package since i wanted to write the thing in python. if none is available then probably i will need to work on an interface to some package written in some other language or work in that language itself.
I've heard of people writing a Python MathLink interface to Mathematica, which essentially turns Mathematica into a Python module. But I don't have any references handy, sorry, and as far as I remember it was done as a private contract. But it's doable.
It should also be doable with Maple, using the OpenMaple API. I've
looked at it, and it should be possible. I haven't had the time to
actually do anything, though :)

>\/<
/\
David M. Cooke
cookedm(at)phy sics(dot)mcmast er(dot)ca
On 6/8/05, Fernando Perez <fp********@gma il.com> wrote: Rahul wrote: Hi. The reason is simple enough. I plan to do some academic research related to computer algebra for which i need some package which i can call as a library. Since i am not going to use the package myself..(rather my program will)..it will be helpful to have a python package since i wanted to write the thing in python. if none is available then probably i will need to work on an interface to some package written in some other language or work in that language itself.
I've heard of people writing a Python MathLink interface to Mathematica, which essentially turns Mathematica into a Python module. But I don't have any references handy, sorry, and as far as I remember it was done as a private contract. But it's doable.
What about http://library.wolfram.com/infocenter/MathSource/585/ ?
Seems to be nonproprietary, or something different, but does it work?
I don't have Mathematica, so I don't know.
Peace
Bill Mill
bill.mill at gmail.com
Bill Mill wrote: On 6/8/05, Fernando Perez <fp********@gma il.com> wrote: Rahul wrote:
> > Hi. > The reason is simple enough. I plan to do some academic research > related to computer algebra for which i need some package which i can > call as a library. Since i am not going to use the package > myself..(rather my program will)..it will be helpful to have a python > package since i wanted to write the thing in python. if none is > available then probably i will need to work on an interface to some > package written in some other language or work in that language itself.
I've heard of people writing a Python MathLink interface to Mathematica, which essentially turns Mathematica into a Python module. But I don't have any references handy, sorry, and as far as I remember it was done as a private contract. But it's doable.
What about http://library.wolfram.com/infocenter/MathSource/585/ ? Seems to be nonproprietary, or something different, but does it work? I don't have Mathematica, so I don't know.
Mmh, not very promising. I just downloaded it, and it looks pretty dated:
PYML is a python interface to Mathematica which uses MathLink. It allows the
Python programmer to evaluate Mathematica expressions. Expressions are
passed to PYML as a Python object, which is processed into MathLink calls.
PYML calls MathLink to evaluate the expression and prints the result.
Currently, PYML supports Mathematica 2.2 and 3.0. The program is evolving
continuously.
given that Mathematica is at v5.1, this may or may not work. It's from 1998,
has no setup.py, etc. It might still work, and if nothing else it would be a
perfect starting point and a nice project to revive. But I don't have the
time nor the need for this right now, perhaps the OP might want to play with
it. Thanks for the reference though, I didn't know abou it.
Best,
f
Rahul <co********@gma il.com> wrote: Well is there an open source computer algebra system written in python or at least having a python interface? I know of 2 efforts: pythonica and pyginac...are there any others?
Probably this is usable for you (I never used any of them):
Package: mascyma
Description: A userfriendly frontend for MAXIMA
Mascyma is (trying to be) a userfriendly graphical frontend for the Computer
Algebra System GNU MAXIMA. It is written in Python and provides two GUIs,
one of which based on PyGTK, the other based on wxPython.
Package: maxima
Description: A fairly complete computer algebra system base system
This system MAXIMA is a COMMON LISP implementation due to William F.
Schelter, and is based on the original implementation of Macsyma at
MIT, as distributed by the Department of Energy. I now have
permission from DOE to make derivative copies, and in particular to
distribute it under the GNU public license.
[Florian Diesch] Probably this is usable for you (I never used any of them):
This system MAXIMA is [...] based on the original implementation of Macsyma at MIT [...]
Wow! A derivative of Joel Moses' integrator!! I was not aware this
existed, so thanks for the pointer. It worked out of the box for me!
Description: A userfriendly frontend for MAXIMA Mascyma is (trying to be) a userfriendly graphical frontend for the Computer Algebra System GNU MAXIMA. It is written in Python and provides two GUIs, one of which based on PyGTK, the other based on wxPython.
I was not successful googling for this one. Would you have an URL handy?

François Pinard http://pinard.progicielsbpi.ca This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics 
by: Bernard Xhumga 
last post by:
hello, I present my work : a freeware, (Language C, GnuPlot).
Linear algebra : (fractions, 30 packages).
http://www.geocities.com/xhungab/package.html
The purpose of this work is to verify with numeric applications, some
properties of the linear algebra.
addm, subm, multm, powm, smultm, transpose, det, minor, mminor, cofactor,
mcofactor, adjoint, inverse, gauss, gaussjordan, LU,

by: Andrea J 
last post by:
Does anyone know any good library to manage symbolic calculus (something
different from Math.net)?
Thanks in advance,
Andrea J

by: Xah Lee 
last post by:
The Concepts and Confusions of Prefix, Infix, Postfix and Fully
Functional Notations
Xah Lee, 20060315
Let me summarize: The LISP notation, is a functional notation, and is
not a socalled prefix notation or algebraic notation.
Algebraic notations have the concept of operators, meaning, symbols
placed around arguments. In algebraic infix notation, different

by: Xah Lee 
last post by:
in March, i posted a essay â€œWhat is Expressiveness in a Computer
Languageâ€, archived at:
http://xahlee.org/perlpython/what_is_expresiveness.html
I was informed then that there is a academic paper written on this
subject.
On the Expressive Power of Programming Languages, by Matthias
Felleisen, 1990.
http://www.ccs.neu.edu/home/cobbe/plseminarjr/notes/2003sep26/expressiveslides.pdf

by: Metallicat 
last post by:
I have been posed and attempted to answer several questions but I do not seem to be getting anywhere. I have emailed my tutor a week ago and he has not responded, If anyone can take a look and help me out I would be grateful.
Two of the questions are below, if anyone can help with these two I'm sure that I can crack the rest!
Find the first name, surnames and address of the patients that have had at least one operation with broken bones. ...
 
by: Bas 
last post by:
On Sep 22, 10:02 am, Al Kabaila <akaba...@pcug.org.auwrote:
That argument might have been valid 3 years ago, but as already said
by others, Numeric and Numarray are deprecated. Numpy should be the
only thing needed for new users. I suggest you investigate a little
bit more the next time you make such efforts, since this fact should
be widely known among the users of the mentioned packages, see e.g.
the huge warning at the numarray page:...

by: Beany 
last post by:
Hi,
algebra: z = pr%q+w/x  y
Perl code for this is: $z = $p * $r % $q + $w / $x  $y;
Can someone please explain to me : in what order does Perl calculate the operators? What would be calculated first, second, third etc... why?
I just cant get my head around the algebra business..
How does perl simplify the above algebra?

by: watreen 
last post by:
Iam really concered about this traffic captured by Wireshark. Since today
I get a lot of TCP packages although no program is interacting with internet.
There are ARP's, SYNs and my computer even sends back a lot of ACK packages. Few Http and DNS were captured aswell.
Source IP's coming among others from
(1) USA Redmon 207.46.198.220 (Microsoft) *maybe abused
(2) UK 94.236.15.26 (rackspace.com)
(3) USA New Orleans 66.157.50.237...

by: Oralloy 
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bitfields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++12 std=c++20 Wnarrowing bit_field.cpp
Here is the code in...

by: Hystou 
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...

by: agi2029 
last post by:
Let's talk about the concept of autonomous AI software engineers and nocode agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
 
by: isladogs 
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...

by: conductexam 
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...

by: TSSRALBI 
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LANtoLAN VPNs.
The last exercise I practiced was to create a LANtoLAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...

by: adsilva 
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

by: 6302768590 
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

by: muto222 
last post by:
How can i add a mobile payment intergratation into php mysql website.
 