[SciPy-user] C++ extensions

Pearu Peterson pearu at scipy.org
Fri Oct 29 18:31:21 CDT 2004



On Fri, 29 Oct 2004, David Grant wrote:

> I also see this: http://docs.python.org/ext/ext.html.  It says how to build a 
> module but not how to actually USE it??

Did you read the first section of this document:

   http://docs.python.org/ext/simpleExample.html

?

> David Grant wrote:
>
>> Anyone used SWIG?

Yes, of course;-)

>> David Grant wrote:
>> 
>>> Hey guys (and girls, are there any???),
>>> 
>>> I have some C++ code, it does a decomposition of a large matrix..  It has 
>>> a bunch of objects.  It is very black box though, you just declare an 
>>> object, give it the matrix and it will give an output.  I think it uses 
>>> CLAPACK.  I would like to call this from python.

What kind of a matrix decomposition are you trying to calculate? May be 
scipy.linalg has it already.

Pearu



More information about the SciPy-user mailing list