Eigen  3.2.90 (mercurial changeset cb8ac3b2bbd6)
 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 

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, _StorageIndexType >::indices(), and Eigen::PermutationBase< Derived >::resize().

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