[Numpy-discussion] minor improvment to ones

Gael Varoquaux gael.varoquaux@normalesup....
Fri Jan 30 08:28:42 CST 2009


On Fri, Jan 30, 2009 at 09:22:46AM -0500, Neal Becker wrote:
> Now what would be _really_ cool is a special array type that would represent 
> a constant array without wasting memory.  boost::ublas, for example, has 
> this feature.

What I would actually like is some kind of sparse masked array, which
would be a generalization of what you are talking about (your case would
be the trivial case of mask=False, and a given fill value).

Gaël


More information about the Numpy-discussion mailing list