ug4
permutation_util.h File Reference

Go to the source code of this file.

Classes

class  ug::BOOL
 

Namespaces

 ug
 the ug namespace
 

Macros

#define HAVE_BOOL
 
#define HAVE_IS_PERMUTATION
 

Functions

template<typename TSparseMatrix >
void ug::GetCuthillMcKeeOrder (const TSparseMatrix &mat, std::vector< size_t > &newIndex, bool reverse=true, bool bPreserveConsec=false)
 
bool ug::GetInversePermutation (const std::vector< size_t > &perm, std::vector< size_t > &invPerm)
 
template<typename O_t >
bool ug::is_permutation (O_t &o)
 
template<typename TMatrix >
static void ug::SetMatrixAsPermutation (TMatrix &PA, const TMatrix &A, const std::vector< size_t > &perm)
 
template<typename TVector >
static void ug::SetVectorAsPermutation (TVector &Pv, const TVector &v, const std::vector< size_t > &perm)
 

Macro Definition Documentation

◆ HAVE_BOOL

#define HAVE_BOOL

◆ HAVE_IS_PERMUTATION

#define HAVE_IS_PERMUTATION