[SciPy-user] sparse matrices again

Soeren Sonnenburg python-ml@nn7...
Fri Feb 20 03:02:22 CST 2009


On Wed, 2009-02-11 at 09:40 -0500, Nathan Bell wrote:
> On Wed, Feb 11, 2009 at 7:41 AM, Soeren Sonnenburg <python-ml@nn7.de> wrote:
> >
> > is it somehow possible to interface to the C API of scipy's spars
> > matrices? I know numpy does not have sparse matrix support but scipy
> > does (at least it can be used from the python side).
> >
> > If it is not too unstable then I would invest some time to get some swig
> > typemaps to connect to it.
> >
> 
> The interface is not guaranteed to be stable, but you can access the
> C++ functions that implement much of scipy.sparse through
> scipy.sparse.sparsetools.
> 
> What do you want to do exactly?

Just a pointer to the standard ccs format (similar to what I have in
octave) to be able to exchange data with shogun
(www.shogun-toolbox.org). 

Soeren



More information about the SciPy-user mailing list