[Numpy-discussion] sparse array data

Francesc Alted francesc at continuum.io
Wed May 2 18:50:25 EDT 2012


On 5/2/12 5:28 PM, Stéfan van der Walt wrote:
> On Wed, May 2, 2012 at 3:20 PM, Francesc Alted<francesc at continuum.io>  wrote:
>> On 5/2/12 4:07 PM, Stéfan van der Walt wrote:
>> Well, as the OP said, coo_matrix does not support dimensions larger than
>> 2, right?
> That's just an implementation detail, I would imagine--I'm trying to
> figure out if there is a new principle behind "synthetic dimensions"?

No, no new things under the sun.  We were just talking about many 
different things and this suddenly appeared in our talk.  Nothing really 
serious.

> By the way, David Cournapeau mentioned using b-trees for sparse ops a
> while ago; did you ever talk to him about those ideas?

Yup, the b-tree idea fits very well for indexing the coordinates.  
Although one problem with b-trees is that they do not compress well in 
general.

-- 
Francesc Alted




More information about the NumPy-Discussion mailing list