Efficient transpose of SparseMatrix #3331
-
Dear members of the mfem community, What is the standard way to explicitly compute the transpose of a The class has an attribute Thank you for your help in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You can use the function Lines 716 to 717 in b09cc38 |
Beta Was this translation helpful? Give feedback.
You can use the function
Transpose(const SparseMatrix&)
which will return a newSparseMatrix*
containing the transpose:mfem/linalg/sparsemat.hpp
Lines 716 to 717 in b09cc38