|
-
May 14th, 2010, 02:22 PM
#1
Boost library: sort a matrix by a column
Hi all, don't know whether this is the right section but I have a big problem:
I am using boost C++ libraries to work with matrix data... I now need to sort a matrix by the data in a column
For example:
1 3
0 2
sorting increasingly by the second column:
0 2
1 3
std::sort can not do the job because it would sort ALL the matrix elements.. how can I solve this?
Please help
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|