[SciPy-user] default dtype

Andrew Straw strawman at astraw.com
Fri Dec 30 15:13:10 CST 2005


Seeing as this question comes up fairly often, I've made a FAQ for it in 
the new wiki:

http://new.scipy.org/Wiki/FAQ#head-c366238b249beadfb51fc716bb440a6ad527dba9

Please edit (as is the wiki way) as you see fit.

Alan G Isaac wrote:

>On Fri, 30 Dec 2005, Travis Oliphant apparently wrote: 
>  
>
>>The default can be changed in one place in the C-code if 
>>we did decide to change it.   Now's the time because 
>>version 1.0 is approaching in the next couple of months. 
>>    
>>
>
>Once discovered, it does not matter much of course. 
>My only argument for the change is the effect on prospective 
>users as opposed to the existing base of knowledgeable 
>users: most I suspect will come from environments where 
>every number containing object is filled with floats by 
>default.  (I think GAUSS and Matlab work this way.)  Any 
>ordinary user who creates an array of zeros (or empty) and 
>then assigns floats to a few elements is likely to be 
>surprised by the outcome, I believe. 
>
>Cheers, 
>Alan Isaac 
>
>
>_______________________________________________
>SciPy-user mailing list
>SciPy-user at scipy.net
>http://www.scipy.net/mailman/listinfo/scipy-user
>  
>



More information about the SciPy-user mailing list