[SciPy-dev] Sparse BLAS in scipy?

Nathan Bell wnbell@gmail....
Tue Nov 27 11:28:50 CST 2007


On Nov 27, 2007 10:32 AM, Anand Patil <anand.prabhakar.patil@gmail.com> wrote:
> Apologies for cross-posting- this one seems to have fallen through the
> cracks on scipy-user, maybe this is a better place to send it.
>
> Is there a set of python-callable sparse BLAS out there yet? I haven't
> found one, and not for lack of Googling. I'm willing to work on
> swigging a library if the need exists, but would like some guidance
> from someone with more experience with these things.
>
> First, it looks like there are three implementations that would be
> good for this purpose:
>
> - NIST sparse BLAS
> - SparseLib++ (superseded by above?)
> - Boost's ublas with sparse template parameters.
>
> Questions:
> - Do I need to do this, or are wrappers already available?
> - If so, which library would be best? I lean toward Boost, just
> because it's so broadly templatized that scripting a wrapper for all
> all the sparse-sparse and sparse-dense versions should be relatively
> easy.
> - What should the calling conventions from Python be like?
> - Any other pointers? (things I should know about numpy.i, for example).

Have you tried scipy.sparse?
http://projects.scipy.org/scipy/scipy/browser/trunk/scipy/sparse


-- 
Nathan Bell wnbell@gmail.com


More information about the Scipy-dev mailing list