OSVR-Core
Public Types | Public Member Functions | List of all members
Eigen::COLAMDOrdering< Index > Class Template Reference

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

#include <Ordering.h>

Public Types

typedef PermutationMatrix< Dynamic, Dynamic, Index > PermutationType
 
typedef Matrix< Index, Dynamic, 1 > IndexVector
 

Public Member Functions

template<typename MatrixType >
void operator() (const MatrixType &mat, PermutationType &perm)
 Compute the permutation vector perm form the sparse matrix mat. More...
 

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()).

Member Function Documentation

§ operator()()

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()).

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