[Numpy-discussion] Initialization of array?
sdhyok at email.unc.edu
Wed Nov 29 14:28:57 CST 2000
When I initialize an array, I use
a = ones(shape)*initial_val
But, I am wondering if Numpy has more efficient way.
a = array(initial_value, shape)
More information about the Numpy-discussion