V
vj
I've tried to post this to the numpy google group but it seems to be
down. My migration seems to be going well. I currently have one issue
with using scipy_base.insert.
0., 0.])
I would have expected numpy.insert to update a so that the second
element in a would be 100.
Thanks,
VJ
down. My migration seems to be going well. I currently have one issue
with using scipy_base.insert.
array([ 100., 0., 100., 100., 100., 0., 0., 0.,a = zeros(5)
mask = zeros(5)
mask[1] = 1
c = zeros(1)
c[0] = 100
numpy.insert(a, mask, c)
0., 0.])
array([ 100.])a array([ 0., 0., 0., 0., 0.])
b array([0, 0, 0, 0, 0, 0, 0, 0, 0, 1], dtype=int8)
mask array([ 0., 1., 0., 0., 0.])
c
I would have expected numpy.insert to update a so that the second
element in a would be 100.
Thanks,
VJ