numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
|
Class to perform reverse Cuthill-McKee ordering method [7], [16]. More...
#include <num_collect/linear/reverse_cuthill_mckee_ordering.h>
Public Types | |
using | permutation_type |
Type of permutations. | |
using | PermutationType = permutation_type |
Type of permutations (for Eigen library). | |
using | storage_index_type = StorageIndex |
Type of indices in storages of indices. | |
Public Member Functions | |
reverse_cuthill_mckee_ordering ()=default | |
Constructor. | |
template<typename MatrixType , unsigned int Mode> | |
void | operator() (const Eigen::SparseSelfAdjointView< MatrixType, Mode > &matrix, permutation_type &permutation) |
Create a permutation matrix from SparseSelfAdjointView object. | |
template<base::concepts::sparse_matrix MatrixType> | |
void | operator() (const MatrixType &matrix, permutation_type &permutation) |
Create a permutation matrix. | |
Class to perform reverse Cuthill-McKee ordering method [7], [16].
Definition at line 35 of file reverse_cuthill_mckee_ordering.h.
using num_collect::linear::reverse_cuthill_mckee_ordering< StorageIndex >::permutation_type |
Type of permutations.
Definition at line 41 of file reverse_cuthill_mckee_ordering.h.
using num_collect::linear::reverse_cuthill_mckee_ordering< StorageIndex >::PermutationType = permutation_type |
Type of permutations (for Eigen library).
Definition at line 45 of file reverse_cuthill_mckee_ordering.h.
using num_collect::linear::reverse_cuthill_mckee_ordering< StorageIndex >::storage_index_type = StorageIndex |
Type of indices in storages of indices.
Definition at line 38 of file reverse_cuthill_mckee_ordering.h.
|
inline |
Create a permutation matrix from SparseSelfAdjointView object.
MatrixType | Type of the input matrix. |
Mode | Mode of the input matrix. |
[in] | matrix | Input matrix. |
[in] | permutation | Permutation matrix. |
Definition at line 77 of file reverse_cuthill_mckee_ordering.h.
|
inline |
Create a permutation matrix.
MatrixType | Type of the input matrix. |
[in] | matrix | Input matrix. |
[out] | permutation | Permutation matrix. |
Definition at line 58 of file reverse_cuthill_mckee_ordering.h.