[Numpy-discussion] Initialization of array?
sdhyok at email.unc.edu
Wed Nov 29 15:28:57 EST 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