More efficient array processing
John [H2O]
washakie at gmail.com
Thu Oct 23 16:56:22 EDT 2008
I'm using zeros with type np.float, is there a way to define the data type to
be 4 byte floats?
Marc 'BlackJack' Rintsch wrote:
>
> On Thu, 23 Oct 2008 11:44:04 -0700, John [H2O] wrote:
>
>> What is strange though, is that I have several Fortran programs that
>> create the exact same array srtucture... wouldn't they be restricted to
>> the 2Gb limit as well?
>
> They should be. What about the data type of the elements? Any chance
> they are just 4 byte floats in your Fortran code i.e. C floats instead of
> C doubles like the default in `numpy`?
>
> Ciao,
> Marc 'BlackJack' Rintsch
> --
> http://mail.python.org/mailman/listinfo/python-list
>
>
--
View this message in context: http://www.nabble.com/More-efficient-array-processing-tp20136676p20139062.html
Sent from the Python - python-list mailing list archive at Nabble.com.
More information about the Python-list
mailing list