[SciPy-user] sparse matrix dtype

Robin robince@gmail....
Tue Oct 9 09:03:20 CDT 2007

On 10/9/07, Robin <robince@gmail.com> wrote:

> I am trying to make a large sparse matrix - the values are all integers
> (in fact all non-zeros will be 1) so it would save me a lot of memory if I
> could use dtype=byte.

I added 'b' to the string of allowed dtypes in  getdtype() on line  2791 of

It now seems to behave as I would expect (hope), but it can't be that simple
can it?

Is it likely that doing this will break something else? Why are the dtypes
restricted in the first place.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/scipy-user/attachments/20071009/7b4dcb92/attachment.html 

More information about the SciPy-user mailing list