Den fredagen den 8:e augusti 2014 kl. 22:25:01 UTC+2 skrev Steven G.
Johnson:
>
>
>
> On Friday, August 8, 2014 3:19:00 AM UTC-4, Gunnar Farnebäck wrote:
>>
>> 1. As in Ethan's response (modulo a trivial bug):
>>
>> Matrix[x[k,:] for k=1:size(x,1)]
>>
>> Depending on how well typed the result needs to be, the leading 'Matrix'
>> can be dropped or be made more specific.
>>>
>>>
> You could also just do
>
> reshape(x.', length(x))
>
>
That produces something rather different and I'm not sure how it matches "a
1-dimensional array of row arrays" but maybe it's some Pythonic terminology
I'm not familiar with.