Re: [Numpy-discussion] Faster

2008-05-04 Thread Damian R. Eads
Hi, Looks like a fun discussion: it's too bad for me I did not join it earlier. My first try at scipy-cluster was completely in Python. Like you, I also tried to find the most efficient way to transform the distance matrix when joining two clusters. Eventually my data sets became big enough that I

Re: [Numpy-discussion] Setting contents of buffer for array object

2008-02-10 Thread Damian R. Eads
Matthew Brett wrote: >>> import numpy as np >>> a = np.arange(10) >>> b = np.arange(10)+1 >>> a.data = b.data # raises error, but I hope you see what I mean >>> >>> ? >> Not really, no. Can you describe your use case in more detail? > > Yes - I am just writing the new median implementation. To al