Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: how to sort multi-dimensional arrays

by etj (Deacon)
on Jun 23, 2022 at 15:56 UTC ( [id://11144991]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: how to sort multi-dimensional arrays
in thread how to sort multi-dimensional arrays

To use PDL for this, you'd use qsorti on a slice to get the relevant column, then dice_axis the original structure on the sorted indices.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11144991]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (4)
As of 2024-04-23 07:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found