Registered Member
|
Are there any reordering algorithms available for Eigen's sparse matrix classes, such as Reverse Cuthill-McKee? In Matlab, for example, one can call symrcm on a sparse matrix to obtain the permutation that gives the Reverse Cuthill-McKee ordering.
Cheers! |
Moderator
|
We only have the "Approximate Minimum Degree" method. See http://eigen.tuxfamily.org/dox/group__O ... odule.html.
|
Registered Member
|
Great, thank you. Is the code designed to support additional orderings? E.g. would I be able to extend the code to add a custom ordering in an Eigen-like fashion?
|
Moderator
|
yes, you can implement as many as ordering method as you want.
|
Registered Member
|
Wonderful, thank you! Is there a way to apply a given permutation to a sparse matrix in place? I can call the following code to apply a permutation and copy it to a new matrix,
but this seems a tad ugly. |
Registered users: Baidu [Spider], Bing [Bot], Google [Bot]