[Numpy-discussion] Performance of the array protocol

Todd Miller jmiller at stsci.edu
Tue Nov 1 10:24:21 CST 2005


Francesc Altet wrote:

>El dt 01 de 11 del 2005 a les 12:27 -0500, en/na Todd Miller va
>escriure:
>  
>
>
>>numarray's array interface for Numeric-->numarray 
>>was degenerating to fromlist();   I added array interface "consumption" 
>>support for numerical arrays by beefing up numarray's array() function.
>>    
>>
>
>I'm not sure what are you saying here. You mean that in CVS there is
>already code for Numeric-->numarray that does not degenerate to
>fromlist() anymore?
>
Yes.   I added a check in array() for suppliers of the array-interface 
which are not NDArrays.  It only works for numerical arrays.

Todd





More information about the Numpy-discussion mailing list