Eigen  5.0.1
 
Loading...
Searching...
No Matches
Eigen::AMDOrdering< StorageIndex > Class Template Reference

#include <Eigen/src/OrderingMethods/Ordering.h>

Detailed Description

template<typename StorageIndex>
class Eigen::AMDOrdering< StorageIndex >

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.

Template Parameters
StorageIndexThe type of indices of the matrix
See also
COLAMDOrdering

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
 

Member Function Documentation

◆ operator()() [1/2]

template<typename StorageIndex>
template<typename MatrixType>
void Eigen::AMDOrdering< StorageIndex >::operator() ( const MatrixType & 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.

◆ operator()() [2/2]

template<typename StorageIndex>
template<typename SrcType, unsigned int SrcUpLo>
void Eigen::AMDOrdering< StorageIndex >::operator() ( const SparseSelfAdjointView< SrcType, SrcUpLo > & mat,
PermutationType & perm ) const
inline

Compute the permutation with a selfadjoint matrix. Only the sparsity pattern is used; scalar values are not.


The documentation for this class was generated from the following file: