|
CoxIter 1.3
CoxIter - Computing invariants of hyperbolic Coxeter groups
|
Functions | |
| bool | isPrime (unsigned int n) |
| int | jacobiSymbol (int a_, unsigned b) |
| vector< unsigned int > | primeFactorsWithoutSquares (unsigned int n) |
| mpz_class | sqrtQuotient (const mpz_class &numerator, const mpz_class &denominator) |
| mpz_class | sqrtSupQuotient (const mpz_class &numerator, const mpz_class &denominator) |
| template<typename Type > | |
| std::enable_if< std::is_unsigned< Type >::value, Type >::type | integerSqrt (Type n) |
| template<typename Type > | |
| std::enable_if< std::is_unsigned< Type >::value, Type >::type | sqrtSup (Type n) |
| template<typename Type > | |
| vector< typename std::enable_if< std::is_unsigned< Type >::value, Type >::type > | listDivisors (const Type &n, const bool &nonTrivialOnly=false) |
| template<typename Type > | |
| std::enable_if< std::is_unsigned< Type >::value, Type >::type | ugcd (Type u, Type v) |
| int | jacobiSymbol (int a, unsigned int b) |
| template<typename Type > | |
| vector< Type > | primeFactors (const Type &n) |
| template<typename Type > | |
| std::enable_if< std::is_unsigned< Type >::value, map< Type, unsignedint > >::type | primeDecomposition (Type n) |
| template<typename Type > | |
| Type | iRemoveSquareFactors (Type n) |
| template<typename Type > | |
| Type | ceilQuotient (const Type &numerator, const Type &denominator) |
| template<typename Type > | |
| std::enable_if< std::is_unsigned< Type >::value, Type >::type | sqrtQuotient (const Type &numerator, const Type &denominator) |
| template<typename Type > | |
| std::enable_if< std::is_unsigned< Type >::value, Type >::type | sqrtSupQuotient (const Type &numerator, const Type &denominator) |
Variables | |
| unsigned int | iSmallPrimeNumbers [1229] |
|
inline |
| std::enable_if< std::is_unsigned< Type >::value, Type >::type MathTools::integerSqrt | ( | Type | n | ) |
| Type MathTools::iRemoveSquareFactors | ( | Type | n | ) |
| bool MathTools::isPrime | ( | unsigned int | n | ) |
| int MathTools::jacobiSymbol | ( | int | a, |
| unsigned int | b | ||
| ) |
| int MathTools::jacobiSymbol | ( | int | a_, |
| unsigned | b | ||
| ) |
| vector< typename std::enable_if< std::is_unsigned< Type >::value, Type >::type > MathTools::listDivisors | ( | const Type & | n, |
| const bool & | nonTrivialOnly = false |
||
| ) |
| std::enable_if< std::is_unsigned< Type >::value, map< Type, unsignedint > >::type MathTools::primeDecomposition | ( | Type | n | ) |
| vector< Type > MathTools::primeFactors | ( | const Type & | n | ) |
| vector< unsigned int > MathTools::primeFactorsWithoutSquares | ( | unsigned int | n | ) |
| mpz_class MathTools::sqrtQuotient | ( | const mpz_class & | numerator, |
| const mpz_class & | denominator | ||
| ) |
| std::enable_if< std::is_unsigned< Type >::value, Type >::type MathTools::sqrtQuotient | ( | const Type & | numerator, |
| const Type & | denominator | ||
| ) |
| std::enable_if< std::is_unsigned< Type >::value, Type >::type MathTools::sqrtSup | ( | Type | n | ) |
| mpz_class MathTools::sqrtSupQuotient | ( | const mpz_class & | numerator, |
| const mpz_class & | denominator | ||
| ) |
| std::enable_if< std::is_unsigned< Type >::value, Type >::type MathTools::sqrtSupQuotient | ( | const Type & | numerator, |
| const Type & | denominator | ||
| ) |
| std::enable_if< std::is_unsigned< Type >::value, Type >::type MathTools::ugcd | ( | Type | u, |
| Type | v | ||
| ) |
| unsigned int MathTools::iSmallPrimeNumbers |