![]() |
Eigen
5.0.1
|
#include <Eigen/src/OrderingMethods/Ordering.h>
Functor computing the approximate minimum degree ordering If the matrix is not structurally symmetric, an ordering of A^T+A is computed. Only the sparsity pattern of the input is read — scalar values are not.
| StorageIndex | The type of indices of the matrix |
Public Member Functions | |
| template<typename MatrixType> | |
| void | operator() (const MatrixType &mat, PermutationType &perm) const |
| template<typename SrcType, unsigned int SrcUpLo> | |
| void | operator() (const SparseSelfAdjointView< SrcType, SrcUpLo > &mat, PermutationType &perm) const |
|
inline |
Compute the permutation vector from a sparse matrix. Only the sparsity pattern of mat is read; scalar values are not. This routine is much faster if the input matrix is column-major.
|
inline |
Compute the permutation with a selfadjoint matrix. Only the sparsity pattern is used; scalar values are not.