473,762 Members | 7,418 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

computer algebra packages

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

Jul 19 '05 #1
17 2547
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

Jul 19 '05 #2

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


Jul 19 '05 #3
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

Jul 19 '05 #4
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
Jul 19 '05 #5
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 non-proprietary, 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
Jul 19 '05 #6
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 non-proprietary, 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

Jul 19 '05 #7
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 user-friendly frontend for MAXIMA
Mascyma is (trying to be) a user-friendly 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.
Jul 19 '05 #8
[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 user-friendly frontend for MAXIMA
Mascyma is (trying to be) a user-friendly 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.progiciels-bpi.ca
Jul 21 '05 #9
> > Mascyma is (trying to be) a user-friendly graphical frontend for
the Computer Algebra System GNU MAXIMA.
I was not successful googling for this one. Would you have an URL handy?


Oops, OK! Found it at http://cens.ioc.ee/~pearu/misc/maxima/ .

--
François Pinard http://pinard.progiciels-bpi.ca
Jul 21 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
2159
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,
0
1742
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
23
3648
by: Xah Lee | last post by:
The Concepts and Confusions of Pre-fix, In-fix, Post-fix and Fully Functional Notations Xah Lee, 2006-03-15 Let me summarize: The LISP notation, is a functional notation, and is not a so-called pre-fix notation or algebraic notation. Algebraic notations have the concept of operators, meaning, symbols placed around arguments. In algebraic in-fix notation, different
669
26181
by: Xah Lee | last post by:
in March, i posted a essay “What is Expressiveness in a Computer Languageâ€, archived at: http://xahlee.org/perl-python/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/pl-seminar-jr/notes/2003-sep-26/expressive-slides.pdf
3
2844
Metallicat
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. ...
0
2102
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:...
2
2466
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?
2
2377
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...
0
9554
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9377
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9989
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9925
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,...
0
8814
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code 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...
1
7358
isladogs
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...
0
6640
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();...
0
5405
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3509
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.