More efficient array processing
Robert Kern
robert.kern at gmail.com
Thu Oct 23 18:24:14 EDT 2008
John [H2O] wrote:
> I'm using zeros with type np.float, is there a way to define the data type to
> be 4 byte floats?
np.float32. np.float is not part of the numpy API. It's just Python's builtin
float type which corresponds to C doubles.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
More information about the Python-list
mailing list