Julia Programming Language
Sorting matrix according to the first column
General Usage
sorting
,
matrix
stevengj
March 27, 2024, 10:13pm
6
Cleaner to use
@views A[sortperm(A[:,1]; rev=true),:]
show post in topic
Related topics
Topic
Replies
Views
Activity
The `sort` only change order of the first column in matrix?
General Usage
question
8
337
October 25, 2023
Sorting a matrix according to a matrix of column-wise sorted indices
General Usage
6
762
September 17, 2023
Sort matrix based on the elements of a specific column
General Usage
sort
8
15834
October 30, 2023
Can't get sortperm to return the sorting order of columns of a matrix
General Usage
question
,
sort
,
sortperm
11
1447
July 16, 2022
sort(A, dims=1) mixing rows
Performance
sort
11
1291
October 9, 2018