It work !
Med taknemmelighed
Paul

W dniu środa, 15 października 2014 15:19:28 UTC+2 użytkownik Andreas Noack 
napisał:
>
> *julia> **x = randn(5); p = sortperm(x)*
>
> *5-element Array{Int64,1}:*
>
> * 3*
>
> * 1*
>
> * 5*
>
> * 4*
>
> * 2*
>
>
> *julia> **x[p][invperm(p)] == x*
>
> *true*
>
> Med venlig hilsen
>
> Andreas Noack
>
> 2014-10-15 9:16 GMT-04:00 paul analyst <[email protected] <javascript:>>:
>
>> x = rand (5) 
>> y = rand (5) 
>> p = sortperm (x) 
>>
>> y1 = y [p] 
>>
>>
>> How to get back from y1 to order as in y ?
>> Paul
>>
>
>

Reply via email to