Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > computer algebra packages

Reply
Thread Tools

computer algebra packages

 
 
Rahul
Guest
Posts: n/a
 
      06-07-2005
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

 
Reply With Quote
 
 
 
 
Kay Schluehr
Guest
Posts: n/a
 
      06-08-2005
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

 
Reply With Quote
 
 
 
 
Rahul
Guest
Posts: n/a
 
      06-08-2005

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


 
Reply With Quote
 
Fernando Perez
Guest
Posts: n/a
 
      06-08-2005
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

 
Reply With Quote
 
David M. Cooke
Guest
Posts: n/a
 
      06-08-2005
Fernando Perez <> 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)physics(dot)mcmaster(dot)ca
 
Reply With Quote
 
Bill Mill
Guest
Posts: n/a
 
      06-08-2005
On 6/8/05, Fernando Perez <> 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
 
Reply With Quote
 
Fernando Perez
Guest
Posts: n/a
 
      06-08-2005
Bill Mill wrote:

> On 6/8/05, Fernando Perez <> 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

 
Reply With Quote
 
Florian Diesch
Guest
Posts: n/a
 
      06-08-2005
Rahul <> 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.
.
This package contains the main executables and base system files.




Florian
--
begin signature_virus
Hi! I'm a signature virus. Please copy me to your signature to help me spread.
end
 
Reply With Quote
 
=?iso-8859-1?Q?Fran=E7ois?= Pinard
Guest
Posts: n/a
 
      07-10-2005
[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
 
Reply With Quote
 
=?iso-8859-1?Q?Fran=E7ois?= Pinard
Guest
Posts: n/a
 
      07-10-2005
> > 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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Python Packages : A loomingproblem? packages might no longer work? (well not on your platform or python version anyway) David Lyon Python 19 04-23-2009 11:10 PM
Search Engine Optimization Packages India, SEO Packages Hyderabad,SEO Packages Firm visioninfosyslinks@gmail.com HTML 0 12-20-2007 08:45 AM
Advice on converting hashed packages to pseudo-hashed packages Ian Perl Misc 3 02-12-2005 12:17 AM
Need some Linear Algebra Packages ckumar Java 2 01-17-2005 10:46 AM
Do the javax.imageio packages replace packages in com.sun.image? Paul Smith Java 0 11-18-2003 02:58 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57