From: Neal Becker (ndbecker2_at_[hidden])
Date: 2006-05-15 11:54:19
Nigel Stewart wrote:
>>>> I've been using a wrapper for boost::ublas.
>>> That sounds interesting. Is it your own wrapper?
>> I put some code here:
> Oh, I see.
> Did you consider using a PyArrayObject as the storage
> for a boost::numeric::ublas::vector? The advantage with
> that would be all the Numeric/Numarray/Numpy functionality
> in Python, with a boost::numeric::ublas::vector interface
> in C++.
No. Any code sample?
My goal was to give python an interface to algorithms written in c++. The
algs are generic, but to talk to python I have to choose concrete
containers. I chose ublas::vector in hopes that would also be convenient
I don't know what using PyArrayObject would imply, do you?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk