![](https://secure.gravatar.com/avatar/3e3b4dff04d6c945d0f990ea8c362abb.jpg?s=120&d=mm&r=g)
Oct. 19, 2008
8:18 p.m.
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/