
17 Oct
2000
17 Oct
'00
2 a.m.
Your mail is in some windows format :-)
reshape(resize(a,(1,15)),(5,3))
,should do it, perhaps reshape makes a new copy, to circumvent this you can do it in two steps.
b=resize(a,(1,15)) b.shape = (5,3)
Another way is
ones((5,3), a.typecode())*a[:,NewAxis]
HTH,
__Janko