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
sort(A, dims=1) mixing rows
Performance
sort
11
1272
October 9, 2018
The `sort` only change order of the first column in matrix?
General Usage
question
8
311
October 25, 2023
Can't get sortperm to return the sorting order of columns of a matrix
General Usage
question
,
sort
,
sortperm
11
1417
July 16, 2022
Sorting a matrix according to a matrix of column-wise sorted indices
General Usage
6
725
September 17, 2023
Sorting a Matrix by column1 then column2
General Usage
sort
,
arrays
2
1399
February 25, 2021