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

Detailed Description

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

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 StorageIndex >
template<typename MatrixType >
void Eigen::COLAMDOrdering< StorageIndex >::operator() ( const MatrixType &  mat,
PermutationType perm 

Compute the permutation vector perm form the sparse matrix mat

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

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

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