Eigen  3.2.90 (mercurial changeset 3c86e3d626c3)
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Eigen::COLAMDOrdering< Index > Class Template Reference

Detailed Description

template<typename Index>
class Eigen::COLAMDOrdering< Index >

Functor computing the column approximate minimum degree ordering The matrix should be in column-major and compressed format (see SparseMatrix::makeCompressed()).

Public Member Functions

template<typename MatrixType >
void operator() (const MatrixType &mat, PermutationType &perm)
 

Member Function Documentation

template<typename Index >
template<typename MatrixType >
void Eigen::COLAMDOrdering< Index >::operator() ( const MatrixType &  mat,
PermutationType perm 
)
inline

Compute the permutation vector perm form the sparse matrix mat

Warning
The input sparse matrix mat must be in compressed mode (see SparseMatrix::makeCompressed()).

References Eigen::PlainObjectBase< Derived >::data(), Eigen::PermutationMatrix< SizeAtCompileTime, MaxSizeAtCompileTime, _StorageIndexType >::indices(), and Eigen::PermutationBase< Derived >::resize().


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