> #of shape (1,6) > eval=array([[3.,3.2,1.,1.1,5.,0.5]]) > eval.shape=(-1,) please not the correction..i need to multiply first row of egimgs with 3.0 ,second row with 3.2,....last(sixth) row with 0.5 ..For that purpose i made the above into a 1 dimensional array. A for loop seems inefficient in the case of big arrays W