473,388 Members | 1,327 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

cas in python

Hello,
from time to time, people here are asking about the computer algebra
system (cas) in python. I wonder, is there a demand for such a thing?

I would be interested in functionality of at least ginac, but
something, which could easily be extended. Ginac (pyginac or swiginac)
are fine, but it seems to me to be too complex and contains a lot of
redundant code (imho). What I need is not a speed in the first place,
but rather rich features and simple code which I (and others) can
extend. I would like to experiment with new features, functions, etc.,
but using a normal language like python (or c++). Which is quite
difficult in ginac or maple/mathematica.

I also (like other people here) wrote a proof of concept a year ago:

http://ondrej.certik.cz/cas.php

and I also (like others) don't have much time to continue on it. On the
other hand, it really does seem possible to write it in a way, which is
very easy to understand, yet feature rich.

So if anyone is interested in developing such a thing, please let me
know. Or at least what you think about it - does it make sense to write
another cas?

Ondrej

Jul 5 '06 #1
2 1840
import ctypes
ctypes.cdll.find('ginac')

i like designing APIs, and i'm up for learning ctypes, so i'll help
wrap ginac using ctypes.

on***********@gmail.com wrote:
Hello,
from time to time, people here are asking about the computer algebra
system (cas) in python. I wonder, is there a demand for such a thing?

I would be interested in functionality of at least ginac, but
something, which could easily be extended. Ginac (pyginac or swiginac)
are fine, but it seems to me to be too complex and contains a lot of
redundant code (imho). What I need is not a speed in the first place,
but rather rich features and simple code which I (and others) can
extend. I would like to experiment with new features, functions, etc.,
but using a normal language like python (or c++). Which is quite
difficult in ginac or maple/mathematica.

I also (like other people here) wrote a proof of concept a year ago:

http://ondrej.certik.cz/cas.php

and I also (like others) don't have much time to continue on it. On the
other hand, it really does seem possible to write it in a way, which is
very easy to understand, yet feature rich.

So if anyone is interested in developing such a thing, please let me
know. Or at least what you think about it - does it make sense to write
another cas?

Ondrej
Jul 5 '06 #2
ginac already has two separate bindings, pyginac and swiginac.
O.

faulkner wrote:
import ctypes
ctypes.cdll.find('ginac')

i like designing APIs, and i'm up for learning ctypes, so i'll help
wrap ginac using ctypes.

on***********@gmail.com wrote:
Hello,
from time to time, people here are asking about the computer algebra
system (cas) in python. I wonder, is there a demand for such a thing?

I would be interested in functionality of at least ginac, but
something, which could easily be extended. Ginac (pyginac or swiginac)
are fine, but it seems to me to be too complex and contains a lot of
redundant code (imho). What I need is not a speed in the first place,
but rather rich features and simple code which I (and others) can
extend. I would like to experiment with new features, functions, etc.,
but using a normal language like python (or c++). Which is quite
difficult in ginac or maple/mathematica.

I also (like other people here) wrote a proof of concept a year ago:

http://ondrej.certik.cz/cas.php

and I also (like others) don't have much time to continue on it. On the
other hand, it really does seem possible to write it in a way, which is
very easy to understand, yet feature rich.

So if anyone is interested in developing such a thing, please let me
know. Or at least what you think about it - does it make sense to write
another cas?

Ondrej
Jul 5 '06 #3

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

Similar topics

0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...

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.