[SciPy-dev] scipy.sparse.dok_matrix changes

Nathan Bell wnbell@gmail....
Sun Oct 19 22:18:45 CDT 2008


On Sat, Oct 18, 2008 at 11:56 AM, James Philbin <philbinj@gmail.com> wrote:
>
> I've recently been using dok_matrix a fair bit and have made a few
> improvements, mainly:
> i. Improved the docstring.
> ii. Fixed the constructor (this fixes #755).
> iii. Reduced the codepath for the common case of setting an individual
> element (~2x speedup).
>

Thanks James.  I've merged your patch in r4802:
http://projects.scipy.org/scipy/scipy/changeset/4802

The dok_matrix class is a neglected part of scipy.sparse, so your
contribution is most appreciated.

-- 
Nathan Bell wnbell@gmail.com
http://graphics.cs.uiuc.edu/~wnbell/


More information about the Scipy-dev mailing list