[SciPy-user] [newb] how to create arrays

Neal Becker ndbecker2@gmail....
Wed Jan 2 21:04:57 CST 2008


How would I create a vector of complex random variables?

I'm thinking the best way is to create a complex vector, then
assign to the real and imag parts (using e.g., random.standard_normal).

I don't see any way to create an uninitialized array.  I guess I'd have to
use zeros?  Is there any way to avoid the wasted time of initializing just
to write over it?



More information about the SciPy-user mailing list